Skip to content

Commit 5149c4b

Browse files
authored
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)
1 parent de1d635 commit 5149c4b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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;

tests/wamr-test-suites/test_wamr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ function spec_test()
449449
echo "checkout spec from threads proposal"
450450

451451
# check spec test cases for threads
452-
git clone -b main --single-branch https://github.com/WebAssembly/threads.git spec
452+
git clone -b main-legacy --single-branch https://github.com/WebAssembly/threads.git spec
453453
pushd spec
454454

455-
# May 31, 2012 [interpreter] implement atomic.wait and atomic.notify (#194)
455+
# May 31, 2023 [interpreter] implement atomic.wait and atomic.notify (#194)
456456
git reset --hard 09f2831349bf409187abb6f7868482a8079f2264
457457
git apply --ignore-whitespace ../../spec-test-script/thread_proposal_ignore_cases.patch || exit 1
458458
git apply --ignore-whitespace ../../spec-test-script/thread_proposal_fix_atomic_case.patch || exit 1

0 commit comments

Comments
 (0)