Fast-interp should report unsupport opcode

when meeting simd opcode on non-posix platforms
This commit is contained in:
liang.he@intel.com 2025-11-24 07:11:27 +00:00
parent 071e2aaed5
commit cf9785e131

View File

@ -7534,6 +7534,9 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
HANDLE_OP(EXT_OP_LOOP)
HANDLE_OP(EXT_OP_IF)
HANDLE_OP(EXT_OP_BR_TABLE_CACHE)
#if WASM_ENABLE_SIMDE == 0
HANDLE_OP(WASM_OP_SIMD_PREFIX)
#endif
{
wasm_set_exception(module, "unsupported opcode");
goto got_exception;