Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 95ec47963416f1d25a2a1fbadd6bfedbe99a329f..d174b307cb9847a58ba1cc0dff037bd2676df15a 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -18064,7 +18064,7 @@ THREADED_TEST(QuietSignalingNaNs) { |
uint64_t stored_bits = DoubleToBits(stored_number); |
// Check if quiet nan (bits 51..62 all set). |
#if (defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64)) && \ |
- !defined(USE_SIMULATOR) |
+ !defined(_MIPS_ARCH_MIPS64R6) && !defined(USE_SIMULATOR) |
// Most significant fraction bit for quiet nan is set to 0 |
// on MIPS architecture. Allowed by IEEE-754. |
CHECK_EQ(0xffe, static_cast<int>((stored_bits >> 51) & 0xfff)); |
@@ -18085,7 +18085,7 @@ THREADED_TEST(QuietSignalingNaNs) { |
uint64_t stored_bits = DoubleToBits(stored_date); |
// Check if quiet nan (bits 51..62 all set). |
#if (defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64)) && \ |
- !defined(USE_SIMULATOR) |
+ !defined(_MIPS_ARCH_MIPS64R6) && !defined(USE_SIMULATOR) |
// Most significant fraction bit for quiet nan is set to 0 |
// on MIPS architecture. Allowed by IEEE-754. |
CHECK_EQ(0xffe, static_cast<int>((stored_bits >> 51) & 0xfff)); |