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

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

Issue 19482023: Fix math min/max for -0.0 case. Enable min_max_test to run in optimizing compiler as well. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 #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 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 D10 = 10, // Preserved. 148 D10 = 10, // Preserved.
149 D11 = 11, // Preserved. 149 D11 = 11, // Preserved.
150 D12 = 12, // Preserved. 150 D12 = 12, // Preserved.
151 D13 = 13, // Preserved. 151 D13 = 13, // Preserved.
152 D14 = 14, // Preserved. 152 D14 = 14, // Preserved.
153 D15 = 15, // Preserved. 153 D15 = 15, // Preserved.
154 kNumberOfDRegisters = 16, 154 kNumberOfDRegisters = 16,
155 kNoDRegister = -1, 155 kNoDRegister = -1,
156 }; 156 };
157 157
158 static inline FRegister OddFRegisterOf(DRegister d) {
regis 2013/07/22 20:55:11 Implementing only OddFRegisterOf is ... odd. Why n
srdjan 2013/07/22 21:10:16 Done.
159 return static_cast<FRegister>((d * 2) + 1);
160 }
161
158 const DRegister DTMP = D9; 162 const DRegister DTMP = D9;
159 const FRegister STMP1 = F18; 163 const FRegister STMP1 = F18;
160 const FRegister STMP2 = F19; 164 const FRegister STMP2 = F19;
161 165
162 // Architecture independent aliases. 166 // Architecture independent aliases.
163 typedef DRegister FpuRegister; 167 typedef DRegister FpuRegister;
164 const FpuRegister FpuTMP = DTMP; 168 const FpuRegister FpuTMP = DTMP;
165 const int kNumberOfFpuRegisters = kNumberOfDRegisters; 169 const int kNumberOfFpuRegisters = kNumberOfDRegisters;
166 const FpuRegister kNoFpuRegister = kNoDRegister; 170 const FpuRegister kNoFpuRegister = kNoDRegister;
167 171
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 #endif // defined(DEBUG) 595 #endif // defined(DEBUG)
592 596
593 private: 597 private:
594 DISALLOW_ALLOCATION(); 598 DISALLOW_ALLOCATION();
595 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 599 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
596 }; 600 };
597 601
598 } // namespace dart 602 } // namespace dart
599 603
600 #endif // VM_CONSTANTS_MIPS_H_ 604 #endif // VM_CONSTANTS_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_arm.cc » ('j') | runtime/vm/intermediate_language_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698