As proposed in https://github.com/WebAssembly/simd/pull/122. Since
these instructions are not yet merged to the SIMD spec proposal, this
patch makes them entirely opt-in by surfacing them only through LLVM
intrinsics and clang builtins. If these instructions are made
official, these intrinsics and builtins should be replaced with simple
instruction patterns.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
147 | For unimplemented instructions, when do we use simd128 and when unimplemented-simd128? |
clang/include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
147 | unimplemented-simd128 is better when the V8 implementation is expected to lag significantly behind the toolchain implementation, but in this case the instructions are being implemented in V8 in parallel. Using simd128 makes it much easier for users to experiment with. |
For unimplemented instructions, when do we use simd128 and when unimplemented-simd128?