| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 DPSimd2Fixed = B28 | DPSimd1Fixed, | 290 DPSimd2Fixed = B28 | DPSimd1Fixed, |
| 291 | 291 |
| 292 FPMask = 0x5e000000, | 292 FPMask = 0x5e000000, |
| 293 FPFixed = B28 | B27 | B26 | B25, | 293 FPFixed = B28 | B27 | B26 | B25, |
| 294 }; | 294 }; |
| 295 | 295 |
| 296 // C3.2.1 | 296 // C3.2.1 |
| 297 enum CompareAndBranchOp { | 297 enum CompareAndBranchOp { |
| 298 CompareAndBranchMask = 0x7e000000, | 298 CompareAndBranchMask = 0x7e000000, |
| 299 CompareAndBranchFixed = CompareBranchFixed | B29, | 299 CompareAndBranchFixed = CompareBranchFixed | B29, |
| 300 CBZ = CompareBranchFixed, | 300 CBZ = CompareAndBranchFixed, |
| 301 CBNZ = CompareBranchFixed | B24, | 301 CBNZ = CompareAndBranchFixed | B24, |
| 302 }; | 302 }; |
| 303 | 303 |
| 304 // C.3.2.2 | 304 // C.3.2.2 |
| 305 enum ConditionalBranchOp { | 305 enum ConditionalBranchOp { |
| 306 ConditionalBranchMask = 0xfe000000, | 306 ConditionalBranchMask = 0xfe000000, |
| 307 ConditionalBranchFixed = CompareBranchFixed | B30, | 307 ConditionalBranchFixed = CompareBranchFixed | B30, |
| 308 BCOND = ConditionalBranchFixed, | 308 BCOND = ConditionalBranchFixed, |
| 309 }; | 309 }; |
| 310 | 310 |
| 311 // C3.2.3 | 311 // C3.2.3 |
| (...skipping 136 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 UMADDL = MiscDP3SourceFixed | B31 | B23 | B21, |
| 458 }; | 459 }; |
| 459 | 460 |
| 460 // C3.5.10 | 461 // C3.5.10 |
| 461 enum LogicalShiftOp { | 462 enum LogicalShiftOp { |
| 462 LogicalShiftMask = 0x1f000000, | 463 LogicalShiftMask = 0x1f000000, |
| 463 LogicalShiftFixed = DPRegisterFixed, | 464 LogicalShiftFixed = DPRegisterFixed, |
| 464 AND = LogicalShiftFixed, | 465 AND = LogicalShiftFixed, |
| 465 BIC = LogicalShiftFixed | B21, | 466 BIC = LogicalShiftFixed | B21, |
| 466 ORR = LogicalShiftFixed | B29, | 467 ORR = LogicalShiftFixed | B29, |
| 467 ORN = LogicalShiftFixed | B29 | B21, | 468 ORN = LogicalShiftFixed | B29 | B21, |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 1047 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 1047 | 1048 |
| 1048 private: | 1049 private: |
| 1049 DISALLOW_ALLOCATION(); | 1050 DISALLOW_ALLOCATION(); |
| 1050 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 1051 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 1051 }; | 1052 }; |
| 1052 | 1053 |
| 1053 } // namespace dart | 1054 } // namespace dart |
| 1054 | 1055 |
| 1055 #endif // VM_CONSTANTS_ARM64_H_ | 1056 #endif // VM_CONSTANTS_ARM64_H_ |
| OLD | NEW |