Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index d94a1feb238c5e0abef2c1d2f670e30e2c72c6b9..3de8477a5e312c6f93e50a3addab4ae06502418e 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -65,7 +65,7 @@ bool LCodeGen::GenerateCode() { |
HPhase phase("Z_Code generation", chunk()); |
ASSERT(is_unused()); |
status_ = GENERATING; |
- CpuFeatures::Scope scope1(VFP3); |
+ CpuFeatures::Scope scope1(VFP2); |
CpuFeatures::Scope scope2(ARMv7); |
CodeStub::GenerateFPStubs(); |
@@ -2909,7 +2909,7 @@ void LCodeGen::DoLoadKeyedSpecializedArrayElement( |
if (elements_kind == EXTERNAL_FLOAT_ELEMENTS || |
elements_kind == EXTERNAL_DOUBLE_ELEMENTS) { |
- CpuFeatures::Scope scope(VFP3); |
+ CpuFeatures::Scope scope(VFP2); |
DwVfpRegister result = ToDoubleRegister(instr->result()); |
Operand operand = key_is_constant |
? Operand(constant_key << element_size_shift) |
@@ -3463,7 +3463,7 @@ void LCodeGen::DoMathPowHalf(LUnaryMathOperation* instr) { |
// Math.pow(-Infinity, 0.5) == Infinity |
// Math.sqrt(-Infinity) == NaN |
Label done; |
- __ vmov(temp, -V8_INFINITY); |
+ __ Vmov(temp, -V8_INFINITY); |
__ VFPCompareAndSetFlags(input, temp); |
__ vneg(result, temp, eq); |
__ b(&done, eq); |
@@ -3942,7 +3942,7 @@ void LCodeGen::DoStoreKeyedSpecializedArrayElement( |
if (elements_kind == EXTERNAL_FLOAT_ELEMENTS || |
elements_kind == EXTERNAL_DOUBLE_ELEMENTS) { |
- CpuFeatures::Scope scope(VFP3); |
+ CpuFeatures::Scope scope(VFP2); |
DwVfpRegister value(ToDoubleRegister(instr->value())); |
Operand operand(key_is_constant |
? Operand(constant_key << element_size_shift) |
@@ -4424,7 +4424,7 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { |
scratch3); |
} else { |
- CpuFeatures::Scope scope(VFP3); |
+ CpuFeatures::Scope scope(VFP2); |
// Deoptimize if we don't have a heap number. |
DeoptimizeIf(ne, instr->environment()); |