Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spec] Fix argument order in shape.replace_lane instruction of execution #1721

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

HoseongLee
Copy link
Contributor

The order of the arguments in the instruction shape.replace_lane is different to the order of the pop in the execution.
The execution pops t1.const c1 first even though it is presented as the left-most argument.

imageImage of the original spec

This pull request changes the order of the arguments to match the pop operations and the subscripts of variables accordingly.

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rossberg rossberg merged commit 91e770c into WebAssembly:main Jan 17, 2024
4 checks passed
dhil added a commit to wasmfx/specfx that referenced this pull request Jan 25, 2024
* [test] Adjust br_table length test to avoid wrong failure (WebAssembly#1715)

* [spec] Fix extmul & extadd execution (WebAssembly#1716)

* [interpreter] Add dune dependencies (WebAssembly#1717)

* Revert "[interpreter] Add dune dependencies (WebAssembly#1717)"

This reverts commit 44ed035.

* [interpreter/test] Fix inconsistent use of float values in `spectest` (WebAssembly#1718)

* [spec] Fix operand order in reduction of shape.replace_lane (WebAssembly#1721)

* [spec] Fix sx to be sx? in reduction of vcvtop_zero (WebAssembly#1720)

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: 702fbtngus <79245586+702fbtngus@users.noreply.github.com>
Co-authored-by: Muqiu Han (韩暮秋) <muqiu-han@outlook.com>
Co-authored-by: Andreas Rossberg <rossberg@mpi-sws.org>
Co-authored-by: Dongjun Youn / 윤동준 <f52985@gmail.com>
Co-authored-by: Hoseong Lee <101983402+HoseongLee@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants