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 | 8 |
9 // Assert that this is an LP64 system. | 9 // Assert that this is an LP64 system. |
10 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 10 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const int64_t kSQuietNanMask = 0x1L << kSQuietNanBit; | 77 const int64_t kSQuietNanMask = 0x1L << kSQuietNanBit; |
78 const int64_t kByteMask = 0xffL; | 78 const int64_t kByteMask = 0xffL; |
79 const int64_t kHalfWordMask = 0xffffL; | 79 const int64_t kHalfWordMask = 0xffffL; |
80 const int64_t kWordMask = 0xffffffffL; | 80 const int64_t kWordMask = 0xffffffffL; |
81 const uint64_t kXMaxUInt = 0xffffffffffffffffUL; | 81 const uint64_t kXMaxUInt = 0xffffffffffffffffUL; |
82 const uint64_t kWMaxUInt = 0xffffffffUL; | 82 const uint64_t kWMaxUInt = 0xffffffffUL; |
83 const int64_t kXMaxInt = 0x7fffffffffffffffL; | 83 const int64_t kXMaxInt = 0x7fffffffffffffffL; |
84 const int64_t kXMinInt = 0x8000000000000000L; | 84 const int64_t kXMinInt = 0x8000000000000000L; |
85 const int32_t kWMaxInt = 0x7fffffff; | 85 const int32_t kWMaxInt = 0x7fffffff; |
86 const int32_t kWMinInt = 0x80000000; | 86 const int32_t kWMinInt = 0x80000000; |
| 87 const unsigned kIp0Code = 16; |
| 88 const unsigned kIp1Code = 17; |
87 const unsigned kFramePointerRegCode = 29; | 89 const unsigned kFramePointerRegCode = 29; |
88 const unsigned kLinkRegCode = 30; | 90 const unsigned kLinkRegCode = 30; |
89 const unsigned kZeroRegCode = 31; | 91 const unsigned kZeroRegCode = 31; |
90 const unsigned kJSSPCode = 28; | 92 const unsigned kJSSPCode = 28; |
91 const unsigned kSPRegInternalCode = 63; | 93 const unsigned kSPRegInternalCode = 63; |
92 const unsigned kRegCodeMask = 0x1f; | 94 const unsigned kRegCodeMask = 0x1f; |
93 const unsigned kShiftAmountWRegMask = 0x1f; | 95 const unsigned kShiftAmountWRegMask = 0x1f; |
94 const unsigned kShiftAmountXRegMask = 0x3f; | 96 const unsigned kShiftAmountXRegMask = 0x3f; |
95 // Standard machine types defined by AAPCS64. | 97 // Standard machine types defined by AAPCS64. |
96 const unsigned kByteSize = 8; | 98 const unsigned kByteSize = 8; |
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 }; | 1245 }; |
1244 | 1246 |
1245 enum UnallocatedOp { | 1247 enum UnallocatedOp { |
1246 UnallocatedFixed = 0x00000000, | 1248 UnallocatedFixed = 0x00000000, |
1247 UnallocatedFMask = 0x00000000 | 1249 UnallocatedFMask = 0x00000000 |
1248 }; | 1250 }; |
1249 | 1251 |
1250 } } // namespace v8::internal | 1252 } } // namespace v8::internal |
1251 | 1253 |
1252 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1254 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
OLD | NEW |