| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64_H_ | 5 #ifndef VM_CONSTANTS_ARM64_H_ |
| 6 #define VM_CONSTANTS_ARM64_H_ | 6 #define VM_CONSTANTS_ARM64_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 ASRV = MiscDP2SourceFixed | B13 | B11, | 448 ASRV = MiscDP2SourceFixed | B13 | B11, |
| 449 }; | 449 }; |
| 450 | 450 |
| 451 // C3.5.9 | 451 // C3.5.9 |
| 452 enum MiscDP3SourceOp { | 452 enum MiscDP3SourceOp { |
| 453 MiscDP3SourceMask = 0x1f000000, | 453 MiscDP3SourceMask = 0x1f000000, |
| 454 MiscDP3SourceFixed = DPRegisterFixed | B28 | B24, | 454 MiscDP3SourceFixed = DPRegisterFixed | B28 | B24, |
| 455 MADD = MiscDP3SourceFixed, | 455 MADD = MiscDP3SourceFixed, |
| 456 MSUB = MiscDP3SourceFixed | B15, | 456 MSUB = MiscDP3SourceFixed | B15, |
| 457 SMULH = MiscDP3SourceFixed | B31 | B22, | 457 SMULH = MiscDP3SourceFixed | B31 | B22, |
| 458 UMULH = MiscDP3SourceFixed | B31 | B23 | B22, |
| 458 UMADDL = MiscDP3SourceFixed | B31 | B23 | B21, | 459 UMADDL = MiscDP3SourceFixed | B31 | B23 | B21, |
| 459 }; | 460 }; |
| 460 | 461 |
| 461 // C3.5.10 | 462 // C3.5.10 |
| 462 enum LogicalShiftOp { | 463 enum LogicalShiftOp { |
| 463 LogicalShiftMask = 0x1f000000, | 464 LogicalShiftMask = 0x1f000000, |
| 464 LogicalShiftFixed = DPRegisterFixed, | 465 LogicalShiftFixed = DPRegisterFixed, |
| 465 AND = LogicalShiftFixed, | 466 AND = LogicalShiftFixed, |
| 466 BIC = LogicalShiftFixed | B21, | 467 BIC = LogicalShiftFixed | B21, |
| 467 ORR = LogicalShiftFixed | B29, | 468 ORR = LogicalShiftFixed | B29, |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1058 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 1059 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 1059 | 1060 |
| 1060 private: | 1061 private: |
| 1061 DISALLOW_ALLOCATION(); | 1062 DISALLOW_ALLOCATION(); |
| 1062 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 1063 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 1063 }; | 1064 }; |
| 1064 | 1065 |
| 1065 } // namespace dart | 1066 } // namespace dart |
| 1066 | 1067 |
| 1067 #endif // VM_CONSTANTS_ARM64_H_ | 1068 #endif // VM_CONSTANTS_ARM64_H_ |
| OLD | NEW |