cherry picks few PRs from main branch (#4725)

* fix: update git clone branch for threads spec to main-legacy (#4687)
* Fast-interp should report unsupport opcode when meeting simd opcode on non-posix platforms (#4723)
This commit is contained in:
liang.he
2025-11-24 16:49:50 +08:00
committed by GitHub
parent de1d635efb
commit 5149c4b11f
2 changed files with 5 additions and 2 deletions

View File

@ -7528,6 +7528,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;