| Index: src/arm/code-stubs-arm.cc
|
| ===================================================================
|
| --- src/arm/code-stubs-arm.cc (revision 12165)
|
| +++ src/arm/code-stubs-arm.cc (working copy)
|
| @@ -1058,7 +1058,7 @@
|
| __ push(lr);
|
| __ PrepareCallCFunction(0, 2, scratch);
|
| if (masm->use_eabi_hardfloat()) {
|
| - CpuFeatures::Scope scope(VFP3);
|
| + CpuFeatures::Scope scope(VFP2);
|
| __ vmov(d0, r0, r1);
|
| __ vmov(d1, r2, r3);
|
| }
|
| @@ -1070,7 +1070,7 @@
|
| // Store answer in the overwritable heap number. Double returned in
|
| // registers r0 and r1 or in d0.
|
| if (masm->use_eabi_hardfloat()) {
|
| - CpuFeatures::Scope scope(VFP3);
|
| + CpuFeatures::Scope scope(VFP2);
|
| __ vstr(d0,
|
| FieldMemOperand(heap_number_result, HeapNumber::kValueOffset));
|
| } else {
|
| @@ -1442,7 +1442,7 @@
|
| __ push(lr);
|
| __ PrepareCallCFunction(0, 2, r5);
|
| if (masm->use_eabi_hardfloat()) {
|
| - CpuFeatures::Scope scope(VFP3);
|
| + CpuFeatures::Scope scope(VFP2);
|
| __ vmov(d0, r0, r1);
|
| __ vmov(d1, r2, r3);
|
| }
|
| @@ -3469,7 +3469,7 @@
|
|
|
| __ push(lr);
|
| __ PrepareCallCFunction(0, 1, scratch);
|
| - if (masm->use_eabi_hardfloat()) {
|
| + if (masm->use_eabi_hardfloat() && CpuFeatures::IsSupported(VFP3)) {
|
| __ vmov(d0, d2);
|
| } else {
|
| __ vmov(r0, r1, d2);
|
|
|