Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: runtime/vm/flow_graph_compiler_arm.cc

Issue 15945006: Fix leaf floating point runtime calls on ARM (work still needed in simulator). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_arm.cc
===================================================================
--- runtime/vm/flow_graph_compiler_arm.cc (revision 23505)
+++ runtime/vm/flow_graph_compiler_arm.cc (working copy)
@@ -1640,8 +1640,8 @@
__ vldrd(destination.fpu_reg(), source.ToStackSlotAddress());
} else {
ASSERT(destination.IsDoubleStackSlot());
- __ vldrd(FpuTMP, source.ToStackSlotAddress());
- __ vstrd(FpuTMP, destination.ToStackSlotAddress());
+ __ vldrd(DTMP, source.ToStackSlotAddress());
+ __ vstrd(DTMP, destination.ToStackSlotAddress());
}
} else if (source.IsQuadStackSlot()) {
UNIMPLEMENTED();
@@ -1678,9 +1678,9 @@
} else if (source.IsStackSlot() && destination.IsStackSlot()) {
Exchange(destination.ToStackSlotAddress(), source.ToStackSlotAddress());
} else if (source.IsFpuRegister() && destination.IsFpuRegister()) {
- __ vmovd(FpuTMP, source.fpu_reg());
+ __ vmovd(DTMP, source.fpu_reg());
__ vmovd(source.fpu_reg(), destination.fpu_reg());
- __ vmovd(destination.fpu_reg(), FpuTMP);
+ __ vmovd(destination.fpu_reg(), DTMP);
} else if (source.IsFpuRegister() || destination.IsFpuRegister()) {
ASSERT(destination.IsDoubleStackSlot() ||
destination.IsQuadStackSlot() ||
@@ -1695,9 +1695,9 @@
: source.ToStackSlotAddress();
if (double_width) {
- __ vldrd(FpuTMP, slot_address);
+ __ vldrd(DTMP, slot_address);
__ vstrd(reg, slot_address);
- __ vmovd(reg, FpuTMP);
+ __ vmovd(reg, DTMP);
} else {
UNIMPLEMENTED();
}
@@ -1705,10 +1705,10 @@
const Address& source_slot_address = source.ToStackSlotAddress();
const Address& destination_slot_address = destination.ToStackSlotAddress();
- ScratchFpuRegisterScope ensure_scratch(this, FpuTMP);
- __ vldrd(FpuTMP, source_slot_address);
+ ScratchFpuRegisterScope ensure_scratch(this, DTMP);
+ __ vldrd(DTMP, source_slot_address);
__ vldrd(ensure_scratch.reg(), destination_slot_address);
- __ vstrd(FpuTMP, destination_slot_address);
+ __ vstrd(DTMP, destination_slot_address);
__ vstrd(ensure_scratch.reg(), source_slot_address);
} else if (source.IsQuadStackSlot() && destination.IsQuadStackSlot()) {
UNIMPLEMENTED();
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698