OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM64_CONSTANTS_ARM64_H_ | 5 #ifndef V8_ARM64_CONSTANTS_ARM64_H_ |
6 #define V8_ARM64_CONSTANTS_ARM64_H_ | 6 #define V8_ARM64_CONSTANTS_ARM64_H_ |
7 | 7 |
8 #include "src/base/macros.h" | 8 #include "src/base/macros.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 LoadStoreRegisterOffsetFixed = 0x38200800, | 857 LoadStoreRegisterOffsetFixed = 0x38200800, |
858 LoadStoreRegisterOffsetFMask = 0x3B200C00, | 858 LoadStoreRegisterOffsetFMask = 0x3B200C00, |
859 LoadStoreRegisterOffsetMask = 0xFFE00C00, | 859 LoadStoreRegisterOffsetMask = 0xFFE00C00, |
860 PRFM_reg = LoadStoreRegisterOffsetFixed | PRFM, | 860 PRFM_reg = LoadStoreRegisterOffsetFixed | PRFM, |
861 #define LOAD_STORE_REGISTER_OFFSET(A, B, C, D) \ | 861 #define LOAD_STORE_REGISTER_OFFSET(A, B, C, D) \ |
862 A##B##_##C##_reg = LoadStoreRegisterOffsetFixed | D | 862 A##B##_##C##_reg = LoadStoreRegisterOffsetFixed | D |
863 LOAD_STORE_OP_LIST(LOAD_STORE_REGISTER_OFFSET) | 863 LOAD_STORE_OP_LIST(LOAD_STORE_REGISTER_OFFSET) |
864 #undef LOAD_STORE_REGISTER_OFFSET | 864 #undef LOAD_STORE_REGISTER_OFFSET |
865 }; | 865 }; |
866 | 866 |
867 // Load/store acquire/release | 867 // Load/store acquire/release. |
868 enum LoadStoreAcquireReleaseOp { | 868 enum LoadStoreAcquireReleaseOp { |
869 LoadStoreAcquireReleaseFixed = 0x08000000, | 869 LoadStoreAcquireReleaseFixed = 0x08000000, |
870 LoadStoreAcquireReleaseFMask = 0x3F000000, | 870 LoadStoreAcquireReleaseFMask = 0x3F000000, |
871 LoadStoreAcquireReleaseMask = 0xCFC08000, | 871 LoadStoreAcquireReleaseMask = 0xCFC08000, |
872 STLXR_b = LoadStoreAcquireReleaseFixed | 0x00008000, | 872 STLXR_b = LoadStoreAcquireReleaseFixed | 0x00008000, |
873 LDAXR_b = LoadStoreAcquireReleaseFixed | 0x00408000, | 873 LDAXR_b = LoadStoreAcquireReleaseFixed | 0x00408000, |
874 STLR_b = LoadStoreAcquireReleaseFixed | 0x00808000, | 874 STLR_b = LoadStoreAcquireReleaseFixed | 0x00808000, |
875 LDAR_b = LoadStoreAcquireReleaseFixed | 0x00C08000, | 875 LDAR_b = LoadStoreAcquireReleaseFixed | 0x00C08000, |
876 STLXR_h = LoadStoreAcquireReleaseFixed | 0x40008000, | 876 STLXR_h = LoadStoreAcquireReleaseFixed | 0x40008000, |
877 LDAXR_h = LoadStoreAcquireReleaseFixed | 0x40408000, | 877 LDAXR_h = LoadStoreAcquireReleaseFixed | 0x40408000, |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1257 |
1258 enum UnallocatedOp { | 1258 enum UnallocatedOp { |
1259 UnallocatedFixed = 0x00000000, | 1259 UnallocatedFixed = 0x00000000, |
1260 UnallocatedFMask = 0x00000000 | 1260 UnallocatedFMask = 0x00000000 |
1261 }; | 1261 }; |
1262 | 1262 |
1263 } // namespace internal | 1263 } // namespace internal |
1264 } // namespace v8 | 1264 } // namespace v8 |
1265 | 1265 |
1266 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1266 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
OLD | NEW |