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 784f21a050f3ef27e2f144d1a7e7b781dec0c27f..651dd95ba81705f70bad4d39e771f00593166eb7 100644 |
--- a/test/cctest/wasm/test-run-wasm-64.cc |
+++ b/test/cctest/wasm/test-run-wasm-64.cc |
@@ -34,6 +34,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 |
@@ -47,8 +53,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) \ |
@@ -57,9 +63,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) \ |
@@ -72,7 +78,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) \ |