Skip to content

Commit 53ffe45

Browse files
authored
Fast-interp should report unsupported opcode (#4723)
when meeting simd opcode on non-posix platforms
1 parent 071e2aa commit 53ffe45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)