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

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: 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
« runtime/vm/locations.h ('K') | « 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..2dafe8a07fef0c25502fdafdda32148197e84c87 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -49,6 +49,7 @@ 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 kUnallocated:
switch (policy()) {
@@ -58,6 +59,8 @@ const char* Location::Name() const {
return "P";
case kRequiresRegister:
return "R";
+ case kRequiresXmmRegister:
+ return "D";
case kSameAsFirstInput:
return "0";
}
« runtime/vm/locations.h ('K') | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698