OLD | NEW |
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 RUNTIME_VM_CONSTANTS_MIPS_H_ | 5 #ifndef RUNTIME_VM_CONSTANTS_MIPS_H_ |
6 #define RUNTIME_VM_CONSTANTS_MIPS_H_ | 6 #define RUNTIME_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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 EQ, // equal | 249 EQ, // equal |
250 NE, // not equal | 250 NE, // not equal |
251 GT, // greater than | 251 GT, // greater than |
252 GE, // greater equal | 252 GE, // greater equal |
253 LT, // less than | 253 LT, // less than |
254 LE, // less equal | 254 LE, // less equal |
255 UGT, // unsigned greater than | 255 UGT, // unsigned greater than |
256 UGE, // unsigned greater equal | 256 UGE, // unsigned greater equal |
257 ULT, // unsigned less than | 257 ULT, // unsigned less than |
258 ULE, // unsigned less equal | 258 ULE, // unsigned less equal |
| 259 INVALID_RELATION |
259 }; | 260 }; |
260 | 261 |
261 | 262 |
262 // Constants used for the decoding or encoding of the individual fields of | 263 // Constants used for the decoding or encoding of the individual fields of |
263 // instructions. Based on the "Table 4.25 CPU Instruction Format Fields". | 264 // instructions. Based on the "Table 4.25 CPU Instruction Format Fields". |
264 enum InstructionFields { | 265 enum InstructionFields { |
265 kOpcodeShift = 26, | 266 kOpcodeShift = 26, |
266 kOpcodeBits = 6, | 267 kOpcodeBits = 6, |
267 kRsShift = 21, | 268 kRsShift = 21, |
268 kRsBits = 5, | 269 kRsBits = 5, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 #endif // defined(DEBUG) | 635 #endif // defined(DEBUG) |
635 | 636 |
636 private: | 637 private: |
637 DISALLOW_ALLOCATION(); | 638 DISALLOW_ALLOCATION(); |
638 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 639 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
639 }; | 640 }; |
640 | 641 |
641 } // namespace dart | 642 } // namespace dart |
642 | 643 |
643 #endif // RUNTIME_VM_CONSTANTS_MIPS_H_ | 644 #endif // RUNTIME_VM_CONSTANTS_MIPS_H_ |
OLD | NEW |