| Index: src/a64/constants-a64.h
|
| diff --git a/src/a64/constants-a64.h b/src/a64/constants-a64.h
|
| index e54871954d4382f50c7e911f0e450fae27ff34af..625f9872e506ce56fbd7cab8e662385274fef2ba 100644
|
| --- a/src/a64/constants-a64.h
|
| +++ b/src/a64/constants-a64.h
|
| @@ -65,19 +65,19 @@ const unsigned kJSCalleeSavedRegList = 0x03f80000;
|
| // TODO(all): k<Y>RegSize should probably be k<Y>RegSizeInBits.
|
| const unsigned kWRegSize = 32;
|
| const unsigned kWRegSizeLog2 = 5;
|
| -const unsigned kWRegSizeInBytes = kWRegSize / 8;
|
| +const unsigned kWRegSizeInBytes = kWRegSize >> 3;
|
| const unsigned kWRegSizeInBytesLog2 = kWRegSizeLog2 - 3;
|
| const unsigned kXRegSize = 64;
|
| const unsigned kXRegSizeLog2 = 6;
|
| -const unsigned kXRegSizeInBytes = kXRegSize / 8;
|
| +const unsigned kXRegSizeInBytes = kXRegSize >> 3;
|
| const unsigned kXRegSizeInBytesLog2 = kXRegSizeLog2 - 3;
|
| const unsigned kSRegSize = 32;
|
| const unsigned kSRegSizeLog2 = 5;
|
| -const unsigned kSRegSizeInBytes = kSRegSize / 8;
|
| +const unsigned kSRegSizeInBytes = kSRegSize >> 3;
|
| const unsigned kSRegSizeInBytesLog2 = kSRegSizeLog2 - 3;
|
| const unsigned kDRegSize = 64;
|
| const unsigned kDRegSizeLog2 = 6;
|
| -const unsigned kDRegSizeInBytes = kDRegSize / 8;
|
| +const unsigned kDRegSizeInBytes = kDRegSize >> 3;
|
| const unsigned kDRegSizeInBytesLog2 = kDRegSizeLog2 - 3;
|
| const int64_t kWRegMask = 0x00000000ffffffffL;
|
| const int64_t kXRegMask = 0xffffffffffffffffL;
|
| @@ -108,19 +108,19 @@ const unsigned kSPRegInternalCode = 63;
|
| const unsigned kRegCodeMask = 0x1f;
|
| // Standard machine types defined by AAPCS64.
|
| const unsigned kByteSize = 8;
|
| -const unsigned kByteSizeInBytes = kByteSize / 8;
|
| +const unsigned kByteSizeInBytes = kByteSize >> 3;
|
| const unsigned kHalfWordSize = 16;
|
| const unsigned kHalfWordSizeLog2 = 4;
|
| -const unsigned kHalfWordSizeInBytes = kHalfWordSizeInBytes / 8;
|
| +const unsigned kHalfWordSizeInBytes = kHalfWordSize >> 3;
|
| const unsigned kHalfWordSizeInBytesLog2 = kHalfWordSizeLog2 - 3;
|
| const unsigned kWordSize = 32;
|
| const unsigned kWordSizeLog2 = 5;
|
| -const unsigned kWordSizeInBytes = kWordSizeInBytes / 8;
|
| +const unsigned kWordSizeInBytes = kWordSize >> 3;
|
| const unsigned kWordSizeInBytesLog2 = kWordSizeLog2 - 3;
|
| const unsigned kDoubleWordSize = 64;
|
| -const unsigned kDoubleWordSizeInBytes = kDoubleWordSizeInBytes / 8;
|
| +const unsigned kDoubleWordSizeInBytes = kDoubleWordSize >> 3;
|
| const unsigned kQuadWordSize = 128;
|
| -const unsigned kQuadWordSizeInBytes = kQuadWordSizeInBytes / 8;
|
| +const unsigned kQuadWordSizeInBytes = kQuadWordSize >> 3;
|
| // AArch64 floating-point specifics. These match IEEE-754.
|
| const unsigned kDoubleMantissaBits = 52;
|
| const unsigned kDoubleExponentBits = 11;
|
|
|