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

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

Issue 16638012: Switch code generation on ARM from softfp ABI to hardfp ABI. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/code_generator.cc ('k') | runtime/vm/intermediate_language.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_ARM_H_ 5 #ifndef VM_CONSTANTS_ARM_H_
6 #define VM_CONSTANTS_ARM_H_ 6 #define VM_CONSTANTS_ARM_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 D30 = 30, 123 D30 = 30,
124 D31 = 31, 124 D31 = 31,
125 kNumberOfDRegisters = 32, 125 kNumberOfDRegisters = 32,
126 #endif 126 #endif
127 kNumberOfOverlappingDRegisters = 16, 127 kNumberOfOverlappingDRegisters = 16,
128 kNoDRegister = -1, 128 kNoDRegister = -1,
129 }; 129 };
130 130
131 131
132 // Register aliases for floating point scratch registers. 132 // Register aliases for floating point scratch registers.
133 const DRegister DTMP = D0; // Overlaps with STMP. 133 const DRegister DTMP = D15; // Overlaps with STMP.
134 const SRegister STMP = S0; 134 const SRegister STMP = S30;
135 135
136 // Architecture independent aliases. 136 // Architecture independent aliases.
137 typedef DRegister FpuRegister; 137 typedef DRegister FpuRegister;
138 const FpuRegister FpuTMP = DTMP; 138 const FpuRegister FpuTMP = DTMP;
139 const int kNumberOfFpuRegisters = kNumberOfDRegisters; 139 const int kNumberOfFpuRegisters = kNumberOfDRegisters;
140 const FpuRegister kNoFpuRegister = kNoDRegister; 140 const FpuRegister kNoFpuRegister = kNoDRegister;
141 141
142 // Register aliases. 142 // Register aliases.
143 const Register TMP = IP; // Used as scratch register by assembler. 143 const Register TMP = IP; // Used as scratch register by assembler.
144 const Register CTX = R9; // Caches current context in generated code. 144 const Register CTX = R9; // Caches current context in generated code.
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 581 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
582 582
583 private: 583 private:
584 DISALLOW_ALLOCATION(); 584 DISALLOW_ALLOCATION();
585 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 585 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
586 }; 586 };
587 587
588 } // namespace dart 588 } // namespace dart
589 589
590 #endif // VM_CONSTANTS_ARM_H_ 590 #endif // VM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698