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

Side by Side Diff: runtime/vm/locations.cc

Issue 13801014: Fix bug in ParallelMoveResolver::EmitSwap: implement swaps of FPU spill slots. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/locations.h" 5 #include "vm/locations.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 #include "vm/il_printer.h" 8 #include "vm/il_printer.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 #include "vm/flow_graph_compiler.h" 10 #include "vm/flow_graph_compiler.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 100
101 const char* Location::Name() const { 101 const char* Location::Name() const {
102 switch (kind()) { 102 switch (kind()) {
103 case kInvalid: return "?"; 103 case kInvalid: return "?";
104 case kRegister: return Assembler::RegisterName(reg()); 104 case kRegister: return Assembler::RegisterName(reg());
105 case kFpuRegister: return Assembler::FpuRegisterName(fpu_reg()); 105 case kFpuRegister: return Assembler::FpuRegisterName(fpu_reg());
106 case kStackSlot: return "S"; 106 case kStackSlot: return "S";
107 case kDoubleStackSlot: return "DS"; 107 case kDoubleStackSlot: return "DS";
108 case kFloat32x4StackSlot: return "F32x4S"; 108 case kQuadStackSlot: return "QS";
109 case kUint32x4StackSlot: return "UI32x4S";
110 case kUnallocated: 109 case kUnallocated:
111 switch (policy()) { 110 switch (policy()) {
112 case kAny: 111 case kAny:
113 return "A"; 112 return "A";
114 case kPrefersRegister: 113 case kPrefersRegister:
115 return "P"; 114 return "P";
116 case kRequiresRegister: 115 case kRequiresRegister:
117 return "R"; 116 return "R";
118 case kRequiresFpuRegister: 117 case kRequiresFpuRegister:
119 return "DR"; 118 return "DR";
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 171
173 if (!out().IsInvalid()) { 172 if (!out().IsInvalid()) {
174 f->Print(" => "); 173 f->Print(" => ");
175 out().PrintTo(f); 174 out().PrintTo(f);
176 } 175 }
177 176
178 if (always_calls()) f->Print(" C"); 177 if (always_calls()) f->Print(" C");
179 } 178 }
180 179
181 } // namespace dart 180 } // namespace dart
OLDNEW
« runtime/vm/flow_graph_compiler_arm.cc ('K') | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698