Index: test/cctest/test-assembler-mips.cc |
diff --git a/test/cctest/test-assembler-mips.cc b/test/cctest/test-assembler-mips.cc |
index cbaa3beb99f43f5f3924d13054f264bcb0ca1cd3..a6c76f03ed1340bdd30e7e2db0cf2245163b7caa 100644 |
--- a/test/cctest/test-assembler-mips.cc |
+++ b/test/cctest/test-assembler-mips.cc |
@@ -774,7 +774,7 @@ TEST(MIPS10) { |
Assembler assm(Isolate::Current(), NULL, 0); |
Label L, C; |
- if (CpuFeatures::IsSupported(FPU)) { |
+ if (CpuFeatures::IsSupported(FPU) && mips32r2) { |
CpuFeatures::Scope scope(FPU); |
// Load all structure elements to registers. |