Skip to content

Commit cf9785e

Browse files
committed
Fast-interp should report unsupport opcode
when meeting simd opcode on non-posix platforms
1 parent 071e2aa commit cf9785e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/iwasm/interpreter/wasm_interp_fast.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7534,6 +7534,9 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
75347534
HANDLE_OP(EXT_OP_LOOP)
75357535
HANDLE_OP(EXT_OP_IF)
75367536
HANDLE_OP(EXT_OP_BR_TABLE_CACHE)
7537+
#if WASM_ENABLE_SIMDE == 0
7538+
HANDLE_OP(WASM_OP_SIMD_PREFIX)
7539+
#endif
75377540
{
75387541
wasm_set_exception(module, "unsupported opcode");
75397542
goto got_exception;

0 commit comments

Comments
 (0)