Skip to content

Commit a997567

Browse files
authored
Enable sse tests under wasm64. NFC (#21051)
1 parent 20865d7 commit a997567

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_core.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -6521,12 +6521,13 @@ def test_sse1(self):
65216521
# Tests invoking the SIMD API via x86 SSE2 emmintrin.h header (_mm_x() functions)
65226522
@wasm_simd
65236523
@requires_native_clang
6524-
@no_wasm64('https://github.com/llvm/llvm-project/issues/57577')
65256524
@no_safe_heap('has unaligned 64-bit operations in wasm')
65266525
@is_slow_test
65276526
@no_ubsan('https://github.com/emscripten-core/emscripten/issues/19688')
65286527
@no_asan('local count too large')
65296528
def test_sse2(self):
6529+
if self.is_wasm64():
6530+
self.require_node_canary()
65306531
src = test_file('sse/test_sse2.cpp')
65316532
self.run_process([shared.CLANG_CXX, src, '-msse2', '-Wno-argument-outside-range', '-o', 'test_sse2', '-D_CRT_SECURE_NO_WARNINGS=1'] + clang_native.get_clang_native_args(), stdout=PIPE)
65326533
native_result = self.run_process('./test_sse2', stdout=PIPE).stdout
@@ -6548,7 +6549,6 @@ def test_sse3(self):
65486549
self.do_runf(src, native_result)
65496550

65506551
# Tests invoking the SIMD API via x86 SSSE3 tmmintrin.h header (_mm_x() functions)
6551-
@no_wasm64('https://github.com/llvm/llvm-project/issues/57577')
65526552
@wasm_simd
65536553
@requires_native_clang
65546554
def test_ssse3(self):
@@ -6561,12 +6561,13 @@ def test_ssse3(self):
65616561
self.do_runf(src, native_result)
65626562

65636563
# Tests invoking the SIMD API via x86 SSE4.1 smmintrin.h header (_mm_x() functions)
6564-
@no_wasm64('https://github.com/llvm/llvm-project/issues/57577')
65656564
@no_ubsan('https://github.com/emscripten-core/emscripten/issues/19749')
65666565
@wasm_simd
65676566
@requires_native_clang
65686567
@is_slow_test
65696568
def test_sse4_1(self):
6569+
if self.is_wasm64():
6570+
self.require_node_canary()
65706571
src = test_file('sse/test_sse4_1.cpp')
65716572
if not self.is_optimizing() and '-fsanitize=address' in self.emcc_args:
65726573
# ASan with -O0 fails with:

0 commit comments

Comments
 (0)