According to github.com/WebAssembly/simd/blob/main/proposals/simd/SIMD.md,
the shift count of bit shift instructions is taken modulo lane width.
This patch adds such operation.
Fixes PR#60655
Paths
| Differential D144169
[WebAssembly] Fix simd bit shift intrinsics codegen ClosedPublic Authored by junparser on Feb 16 2023, 1:25 AM.
Details Summary According to github.com/WebAssembly/simd/blob/main/proposals/simd/SIMD.md, Fixes PR#60655
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 16 2023, 7:50 AM Closed by commit rGf253bb640d97: [WebAssembly] Fix simd bit shift intrinsics codegen (authored by junparser). · Explain WhyFeb 16 2023, 5:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 497926 clang/lib/Headers/wasm_simd128.h
clang/test/Headers/wasm.c
|