Index: test/cctest/wasm/test-run-wasm-64.cc |
diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc |
index cd3f4aa428ff4ce120077867377b0a845d51ed8e..0eafe5fe1d806fe48eaa6a8a729d437541a52634 100644 |
--- a/test/cctest/wasm/test-run-wasm-64.cc |
+++ b/test/cctest/wasm/test-run-wasm-64.cc |
@@ -33,6 +33,12 @@ |
#define MIPS_OR_X87 false |
#endif |
+#if V8_TARGET_ARCH_X87 |
+#define X87 true |
+#else |
+#define X87 false |
+#endif |
+ |
#if V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_X87 || V8_TARGET_ARCH_ARM |
#define MIPS_OR_ARM_OR_X87 true |
#else |
@@ -46,8 +52,8 @@ |
V(I64Return, true) \ |
V(I64Param, true) \ |
V(I64LoadStore, true) \ |
- V(I64Add, !MIPS_OR_X87) \ |
- V(I64Sub, !MIPS_OR_X87) \ |
+ V(I64Add, !X87) \ |
+ V(I64Sub, !X87) \ |
V(I64Mul, !MIPS_OR_X87) \ |
V(I64DivS, true) \ |
V(I64DivU, true) \ |
@@ -56,9 +62,9 @@ |
V(I64And, true) \ |
V(I64Ior, true) \ |
V(I64Xor, true) \ |
- V(I64Shl, !MIPS_OR_X87) \ |
- V(I64ShrU, !MIPS_OR_X87) \ |
- V(I64ShrS, !MIPS_OR_X87) \ |
+ V(I64Shl, !X87) \ |
+ V(I64ShrU, !X87) \ |
+ V(I64ShrS, !X87) \ |
V(I64Eq, true) \ |
V(I64Ne, true) \ |
V(I64LtS, true) \ |
@@ -71,7 +77,7 @@ |
V(I64GeU, true) \ |
V(I64Ctz, true) \ |
V(I64Clz, true) \ |
- V(I64Popcnt, !MIPS_OR_X87) \ |
+ V(I64Popcnt, !X87) \ |
V(I32ConvertI64, true) \ |
V(I64SConvertF32, true) \ |
V(I64SConvertF64, true) \ |