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

Side by Side Diff: runtime/vm/constants_mips.h

Issue 13483018: Introduces a second temporary register for MIPS assembler macros. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/assembler_mips_test.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef VM_CONSTANTS_MIPS_H_ 5 #ifndef VM_CONSTANTS_MIPS_H_
6 #define VM_CONSTANTS_MIPS_H_ 6 #define VM_CONSTANTS_MIPS_H_
7 7
8 namespace dart { 8 namespace dart {
9 9
10 enum Register { 10 enum Register {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 }; 127 };
128 128
129 129
130 // Architecture independent aliases. 130 // Architecture independent aliases.
131 typedef FRegister FpuRegister; 131 typedef FRegister FpuRegister;
132 const FpuRegister FpuTMP = F0; 132 const FpuRegister FpuTMP = F0;
133 const int kNumberOfFpuRegisters = kNumberOfFRegisters; 133 const int kNumberOfFpuRegisters = kNumberOfFRegisters;
134 134
135 135
136 // Register aliases. 136 // Register aliases.
137 const Register TMP = AT; // Used as scratch register by assembler. 137 const Register TMP1 = AT; // Used as scratch register by assembler.
138 const Register TMP2 = T9; // Used as scratch register by assembler.
139 const Register TMP = TMP1; // Arch independent flow graph compiler needs a
140 // Register called TMP.
138 const Register CTX = S6; // Caches current context in generated code. 141 const Register CTX = S6; // Caches current context in generated code.
139 const Register PP = S7; // Caches object pool pointer in generated code. 142 const Register PP = S7; // Caches object pool pointer in generated code.
140 const Register SPREG = SP; // Stack pointer register. 143 const Register SPREG = SP; // Stack pointer register.
141 const Register FPREG = FP; // Frame pointer register. 144 const Register FPREG = FP; // Frame pointer register.
142 145
143 146
144 typedef uint32_t RegList; 147 typedef uint32_t RegList;
145 const RegList kAllCpuRegistersList = 0xFFFFFFFF; 148 const RegList kAllCpuRegistersList = 0xFFFFFFFF;
146 149
147 150
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 400 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
398 401
399 private: 402 private:
400 DISALLOW_ALLOCATION(); 403 DISALLOW_ALLOCATION();
401 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 404 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
402 }; 405 };
403 406
404 } // namespace dart 407 } // namespace dart
405 408
406 #endif // VM_CONSTANTS_MIPS_H_ 409 #endif // VM_CONSTANTS_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips_test.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698