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 | |
260 }; | 259 }; |
261 | 260 |
262 | 261 |
263 // Constants used for the decoding or encoding of the individual fields of | 262 // Constants used for the decoding or encoding of the individual fields of |
264 // instructions. Based on the "Table 4.25 CPU Instruction Format Fields". | 263 // instructions. Based on the "Table 4.25 CPU Instruction Format Fields". |
265 enum InstructionFields { | 264 enum InstructionFields { |
266 kOpcodeShift = 26, | 265 kOpcodeShift = 26, |
267 kOpcodeBits = 6, | 266 kOpcodeBits = 6, |
268 kRsShift = 21, | 267 kRsShift = 21, |
269 kRsBits = 5, | 268 kRsBits = 5, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 #endif // defined(DEBUG) | 634 #endif // defined(DEBUG) |
636 | 635 |
637 private: | 636 private: |
638 DISALLOW_ALLOCATION(); | 637 DISALLOW_ALLOCATION(); |
639 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 638 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
640 }; | 639 }; |
641 | 640 |
642 } // namespace dart | 641 } // namespace dart |
643 | 642 |
644 #endif // RUNTIME_VM_CONSTANTS_MIPS_H_ | 643 #endif // RUNTIME_VM_CONSTANTS_MIPS_H_ |
OLD | NEW |