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

Unified Diff: runtime/vm/intermediate_language_arm.cc

Issue 19806005: Increases the number of ARM floating-point registers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_arm.cc
===================================================================
--- runtime/vm/intermediate_language_arm.cc (revision 25344)
+++ runtime/vm/intermediate_language_arm.cc (working copy)
@@ -2947,8 +2947,9 @@
const intptr_t kNumTemps = 0;
LocationSummary* summary =
new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
- summary->set_in(0, Location::RequiresFpuRegister());
- summary->set_out(Location::RequiresFpuRegister());
+ // Low (< Q7) Q registers are needed for the vcvtds instruction.
+ summary->set_in(0, Location::FpuRegisterLocation(Q5));
+ summary->set_out(Location::FpuRegisterLocation(Q6));
return summary;
}
@@ -3009,7 +3010,8 @@
summary->set_in(1, Location::RequiresFpuRegister());
summary->set_in(2, Location::RequiresFpuRegister());
summary->set_in(3, Location::RequiresFpuRegister());
- summary->set_out(Location::RequiresFpuRegister());
+ // Low (< 7) Q registers are needed for the vcvtsd instruction.
+ summary->set_out(Location::FpuRegisterLocation(Q6));
return summary;
}
@@ -3179,7 +3181,8 @@
new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
summary->set_in(0, Location::RequiresFpuRegister());
summary->set_in(1, Location::RequiresFpuRegister());
- summary->set_out(Location::RequiresFpuRegister());
+ // Low (< 7) Q registers are needed for the vmovs instruction.
+ summary->set_out(Location::FpuRegisterLocation(Q6));
return summary;
}
@@ -3246,7 +3249,8 @@
const intptr_t kNumTemps = 0;
LocationSummary* summary =
new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
- summary->set_in(0, Location::RequiresFpuRegister());
+ // Low (< 7) Q registers are needed for the vmovrs instruction.
+ summary->set_in(0, Location::FpuRegisterLocation(Q6));
summary->set_out(Location::RequiresRegister());
return summary;
}
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698