Index: test/cctest/wasm/test-run-wasm-simd.cc |
diff --git a/test/cctest/wasm/test-run-wasm-simd.cc b/test/cctest/wasm/test-run-wasm-simd.cc |
index 58f1d6559c622a9b87e4054a8e23b981986c3e90..e5c5d349b27279aaf93d281adee12423fe81aea2 100644 |
--- a/test/cctest/wasm/test-run-wasm-simd.cc |
+++ b/test/cctest/wasm/test-run-wasm-simd.cc |
@@ -660,7 +660,7 @@ WASM_EXEC_COMPILED_TEST(I32x4ReplaceLane) { |
CHECK_EQ(1, r.Call(1, 2)); |
} |
-#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
WASM_EXEC_COMPILED_TEST(I16x8Splat) { |
FLAG_wasm_simd_prototype = true; |
@@ -723,7 +723,9 @@ WASM_EXEC_COMPILED_TEST(I16x8ReplaceLane) { |
CHECK_EQ(1, r.Call(1, 2)); |
} |
+#endif // V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
WASM_EXEC_COMPILED_TEST(I8x16Splat) { |
FLAG_wasm_simd_prototype = true; |
@@ -1179,7 +1181,7 @@ WASM_EXEC_COMPILED_TEST(I16x8ConvertI32x4) { |
} |
#endif // V8_TARGET_ARCH_ARM |
-#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
void RunI16x8BinOpTest(WasmOpcode simd_op, Int16BinOp expected_op) { |
FLAG_wasm_simd_prototype = true; |
WasmRunner<int32_t, int32_t, int32_t, int32_t> r(kExecuteCompiled); |
@@ -1263,9 +1265,9 @@ WASM_EXEC_COMPILED_TEST(I16x8Eq) { RunI16x8CompareOpTest(kExprI16x8Eq, Equal); } |
WASM_EXEC_COMPILED_TEST(I16x8Ne) { |
RunI16x8CompareOpTest(kExprI16x8Ne, NotEqual); |
} |
-#endif // V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
+#endif // V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
-#if V8_TARGET_ARCH_ARM |
+#if V8_TARGET_ARCH_ARM || SIMD_LOWERING_TARGET |
WASM_EXEC_COMPILED_TEST(I16x8LtS) { |
RunI16x8CompareOpTest(kExprI16x8LtS, Less); |
} |
@@ -1297,9 +1299,9 @@ WASM_EXEC_COMPILED_TEST(I16x8LtU) { |
WASM_EXEC_COMPILED_TEST(I16x8LeU) { |
RunI16x8CompareOpTest(kExprI16x8LeU, UnsignedLessEqual); |
} |
-#endif // V8_TARGET_ARCH_ARM |
+#endif // V8_TARGET_ARCH_ARM || SIMD_LOWERING_TARGET |
-#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
void RunI16x8ShiftOpTest(WasmOpcode simd_op, Int16ShiftOp expected_op, |
int shift) { |
FLAG_wasm_simd_prototype = true; |
@@ -1326,7 +1328,7 @@ WASM_EXEC_COMPILED_TEST(I16x8ShrS) { |
WASM_EXEC_COMPILED_TEST(I16x8ShrU) { |
RunI16x8ShiftOpTest(kExprI16x8ShrU, LogicalShiftRight, 1); |
} |
-#endif // V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 |
+#endif // V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_X64 || SIMD_LOWERING_TARGET |
#if V8_TARGET_ARCH_ARM |
void RunI8x16UnOpTest(WasmOpcode simd_op, Int8UnOp expected_op) { |