| 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_ARM_H_ | 5 #ifndef RUNTIME_VM_CONSTANTS_ARM_H_ |
| 6 #define RUNTIME_VM_CONSTANTS_ARM_H_ | 6 #define RUNTIME_VM_CONSTANTS_ARM_H_ |
| 7 | 7 |
| 8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 | 10 |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 VS = 6, // overflow | 347 VS = 6, // overflow |
| 348 VC = 7, // no overflow | 348 VC = 7, // no overflow |
| 349 HI = 8, // unsigned higher | 349 HI = 8, // unsigned higher |
| 350 LS = 9, // unsigned lower or same | 350 LS = 9, // unsigned lower or same |
| 351 GE = 10, // signed greater than or equal | 351 GE = 10, // signed greater than or equal |
| 352 LT = 11, // signed less than | 352 LT = 11, // signed less than |
| 353 GT = 12, // signed greater than | 353 GT = 12, // signed greater than |
| 354 LE = 13, // signed less than or equal | 354 LE = 13, // signed less than or equal |
| 355 AL = 14, // always (unconditional) | 355 AL = 14, // always (unconditional) |
| 356 kSpecialCondition = 15, // special condition (refer to section A3.2.1) | 356 kSpecialCondition = 15, // special condition (refer to section A3.2.1) |
| 357 kMaxCondition = 16, | 357 kNumberOfConditions = 16, |
| 358 kInvalidCondition = 16 |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 | 361 |
| 361 // Opcodes for Data-processing instructions (instructions with a type 0 and 1) | 362 // Opcodes for Data-processing instructions (instructions with a type 0 and 1) |
| 362 // as defined in section A3.4 | 363 // as defined in section A3.4 |
| 363 enum Opcode { | 364 enum Opcode { |
| 364 kNoOperand = -1, | 365 kNoOperand = -1, |
| 365 AND = 0, // Logical AND | 366 AND = 0, // Logical AND |
| 366 EOR = 1, // Logical Exclusive OR | 367 EOR = 1, // Logical Exclusive OR |
| 367 SUB = 2, // Subtract | 368 SUB = 2, // Subtract |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 758 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 758 | 759 |
| 759 private: | 760 private: |
| 760 DISALLOW_ALLOCATION(); | 761 DISALLOW_ALLOCATION(); |
| 761 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 762 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 762 }; | 763 }; |
| 763 | 764 |
| 764 } // namespace dart | 765 } // namespace dart |
| 765 | 766 |
| 766 #endif // RUNTIME_VM_CONSTANTS_ARM_H_ | 767 #endif // RUNTIME_VM_CONSTANTS_ARM_H_ |
| OLD | NEW |