Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Side by Side Diff: src/arm64/constants-arm64.h

Issue 1151463002: ARM64: Fix some signed-unsigned comparisons from cdc43bc (r28412). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/arm64/instructions-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/arm64/instructions-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698