| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index f55956cd7f4fa1084ea0e082a672ff4e2f5d7b2c..aa3fcb0b1ddd08df6a09b601b0c662bad7876ae2 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -677,7 +677,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());
|
| @@ -3054,13 +3054,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));
|
| @@ -3183,7 +3183,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 {
|
|
|