Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 4dcc21d41a7aa2b63021a569f0844923b6ab2177..d2325f708295c8da759dfb7fa688d3dfcc784e24 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -673,7 +673,7 @@ void FullCodeGenerator::DoTest(Expression* condition, |
Label* if_true, |
Label* if_false, |
Label* fall_through) { |
- if (CpuFeatures::IsSupported(VFP3)) { |
+ if (CpuFeatures::IsSupported(VFP2)) { |
ToBooleanStub stub(result_register()); |
__ CallStub(&stub); |
__ tst(result_register(), result_register()); |
@@ -3050,13 +3050,13 @@ void FullCodeGenerator::EmitRandomHeapNumber(CallRuntime* expr) { |
// Convert 32 random bits in r0 to 0.(32 random bits) in a double |
// by computing: |
// ( 1.(20 0s)(32 random bits) x 2^20 ) - (1.0 x 2^20)). |
- if (CpuFeatures::IsSupported(VFP3)) { |
+ if (CpuFeatures::IsSupported(VFP2)) { |
__ PrepareCallCFunction(1, r0); |
__ ldr(r0, ContextOperand(context_register(), Context::GLOBAL_INDEX)); |
__ ldr(r0, FieldMemOperand(r0, GlobalObject::kGlobalContextOffset)); |
__ CallCFunction(ExternalReference::random_uint32_function(isolate()), 1); |
- CpuFeatures::Scope scope(VFP3); |
+ CpuFeatures::Scope scope(VFP2); |
// 0x41300000 is the top half of 1.0 x 2^20 as a double. |
// Create this constant using mov/orr to avoid PC relative load. |
__ mov(r1, Operand(0x41000000)); |
@@ -3179,7 +3179,7 @@ void FullCodeGenerator::EmitMathPow(CallRuntime* expr) { |
ASSERT(args->length() == 2); |
VisitForStackValue(args->at(0)); |
VisitForStackValue(args->at(1)); |
- if (CpuFeatures::IsSupported(VFP3)) { |
+ if (CpuFeatures::IsSupported(VFP2)) { |
MathPowStub stub(MathPowStub::ON_STACK); |
__ CallStub(&stub); |
} else { |