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

Unified Diff: runtime/vm/locations.cc

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix a bug pointed out by Florian Created 8 years, 4 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/locations.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index 9bf0325336fd73063971f7df2f3b5a6817bd30f8..bffb807e1881c75cec57408b6fd171ff7f0aecde 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -49,7 +49,9 @@ const char* Location::Name() const {
switch (kind()) {
case kInvalid: return "?";
case kRegister: return Assembler::RegisterName(reg());
+ case kXmmRegister: return Assembler::XmmRegisterName(xmm_reg());
case kStackSlot: return "S";
+ case kDoubleStackSlot: return "DS";
case kUnallocated:
switch (policy()) {
case kAny:
@@ -58,6 +60,8 @@ const char* Location::Name() const {
return "P";
case kRequiresRegister:
return "R";
+ case kRequiresXmmRegister:
+ return "DR";
case kSameAsFirstInput:
return "0";
}
« no previous file with comments | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698