diff options
author | Marcus Better <marcusb@users.noreply.github.com> | 2022-11-30 16:06:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 21:06:56 +0000 |
commit | 93c534c6d77529b2c828d695a57613291a45b587 (patch) | |
tree | 9dd9f2533c3f9428918d15ad880f4002b912df71 /src/opcode-code-table.c | |
parent | 5a20630f4ea69c1aa215996b4a14e69865fe6de9 (diff) | |
download | wabt-93c534c6d77529b2c828d695a57613291a45b587.tar.gz wabt-93c534c6d77529b2c828d695a57613291a45b587.tar.bz2 wabt-93c534c6d77529b2c828d695a57613291a45b587.zip |
Implement Relaxed SIMD proposal (#1994)
This adds support for the new opcodes from the Relaxed SIMD proposal
(https://github.com/WebAssembly/relaxed-simd) behind the
"--enable-relaxed-simd" flag.
The exception is the f32x4.relaxed_dot_bf16x8_add_f32x4 instruction
which is not yet implemented.
Diffstat (limited to 'src/opcode-code-table.c')
-rw-r--r-- | src/opcode-code-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opcode-code-table.c b/src/opcode-code-table.c index b9b32a1a..e3fdc994 100644 --- a/src/opcode-code-table.c +++ b/src/opcode-code-table.c @@ -35,7 +35,7 @@ WABT_STATIC_ASSERT(Invalid <= WABT_OPCODE_CODE_TABLE_SIZE); uint32_t WabtOpcodeCodeTable[WABT_OPCODE_CODE_TABLE_SIZE] = { #define WABT_OPCODE(rtype, type1, type2, type3, mem_size, prefix, code, Name, \ text, decomp) \ - [(prefix << 8) + code] = Name, + [(prefix << MAX_OPCODE_BITS) + code] = Name, #include "wabt/opcode.def" #undef WABT_OPCODE }; |