| Index: runtime/vm/intermediate_language_arm.cc
|
| diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
|
| index 6c620cac7ccde99ef9950d6c94eb1abb037f9a81..1169fda064e5eb4d01834408a39cdf09129e6c8b 100644
|
| --- a/runtime/vm/intermediate_language_arm.cc
|
| +++ b/runtime/vm/intermediate_language_arm.cc
|
| @@ -2557,12 +2557,13 @@ void CheckEitherNonSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| LocationSummary* BoxDoubleInstr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps = 0;
|
| + const intptr_t kNumTemps = 1;
|
| LocationSummary* summary =
|
| new LocationSummary(kNumInputs,
|
| kNumTemps,
|
| LocationSummary::kCallOnSlowPath);
|
| summary->set_in(0, Location::RequiresFpuRegister());
|
| + summary->set_temp(0, Location::RequiresRegister());
|
| summary->set_out(Location::RequiresRegister());
|
| return summary;
|
| }
|
| @@ -2609,7 +2610,8 @@ void BoxDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| __ TryAllocate(compiler->double_class(),
|
| slow_path->entry_label(),
|
| - out_reg);
|
| + out_reg,
|
| + locs()->temp(0).reg());
|
| __ Bind(slow_path->exit_label());
|
| __ StoreDToOffset(value, out_reg, Double::value_offset() - kHeapObjectTag);
|
| }
|
| @@ -2665,12 +2667,13 @@ void UnboxDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| LocationSummary* BoxFloat32x4Instr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps = 0;
|
| + const intptr_t kNumTemps = 1;
|
| LocationSummary* summary =
|
| new LocationSummary(kNumInputs,
|
| kNumTemps,
|
| LocationSummary::kCallOnSlowPath);
|
| summary->set_in(0, Location::RequiresFpuRegister());
|
| + summary->set_temp(0, Location::RequiresRegister());
|
| summary->set_out(Location::RequiresRegister());
|
| return summary;
|
| }
|
| @@ -2719,7 +2722,8 @@ void BoxFloat32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| __ TryAllocate(compiler->float32x4_class(),
|
| slow_path->entry_label(),
|
| - out_reg);
|
| + out_reg,
|
| + locs()->temp(0).reg());
|
| __ Bind(slow_path->exit_label());
|
|
|
| __ StoreDToOffset(value_even, out_reg,
|
| @@ -2770,12 +2774,13 @@ void UnboxFloat32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| LocationSummary* BoxInt32x4Instr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps = 0;
|
| + const intptr_t kNumTemps = 1;
|
| LocationSummary* summary =
|
| new LocationSummary(kNumInputs,
|
| kNumTemps,
|
| LocationSummary::kCallOnSlowPath);
|
| summary->set_in(0, Location::RequiresFpuRegister());
|
| + summary->set_temp(0, Location::RequiresRegister());
|
| summary->set_out(Location::RequiresRegister());
|
| return summary;
|
| }
|
| @@ -2824,7 +2829,8 @@ void BoxInt32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| __ TryAllocate(compiler->int32x4_class(),
|
| slow_path->entry_label(),
|
| - out_reg);
|
| + out_reg,
|
| + locs()->temp(0).reg());
|
| __ Bind(slow_path->exit_label());
|
| __ StoreDToOffset(value_even, out_reg,
|
| Int32x4::value_offset() - kHeapObjectTag);
|
|
|