Skip to content

Commit 59768fb

Browse files
committed
Fast-interp should report unsupport opcode
when meeting simd opcode on non-posix platforms
1 parent 25fb0f9 commit 59768fb

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
@@ -7528,6 +7528,9 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
75287528
HANDLE_OP(EXT_OP_LOOP)
75297529
HANDLE_OP(EXT_OP_IF)
75307530
HANDLE_OP(EXT_OP_BR_TABLE_CACHE)
7531+
#if WASM_ENABLE_SIMDE == 0
7532+
HANDLE_OP(WASM_OP_SIMD_PREFIX)
7533+
#endif
75317534
{
75327535
wasm_set_exception(module, "unsupported opcode");
75337536
goto got_exception;

0 commit comments

Comments
 (0)