As proposed in https://github.com/WebAssembly/simd/pull/376. This commit
implements new builtin functions and intrinsics for these instructions, but does
not yet add them to wasm_simd128.h because they have not yet been merged to the
proposal. The opcodes used in this commit are those used in V8 rather than those in the proposal. However, in anticipation of switching to the proposed opcodes at some point, this commit updates the MC layer and disassembler to handle opcodes greater than 0xff correctly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/IntrinsicsWebAssembly.td | ||
---|---|---|
263 | Ah, I was confused and thought that one did the opposite of what I needed. Thanks! | |
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp | ||
72 | It is capable of encoding any uint64_t value. Large values need extra logic because the prefix byte (which is not part of the LEB128) is in a different location. |
It seems there is one already?