| Index: src/mips/constants-mips.h
|
| diff --git a/src/mips/constants-mips.h b/src/mips/constants-mips.h
|
| index f50a84927af4eeab18aa718f4bfa0023faa1a9ee..211ddb6d9f0dc3c45265f80d5196c7f77fef743d 100644
|
| --- a/src/mips/constants-mips.h
|
| +++ b/src/mips/constants-mips.h
|
| @@ -196,6 +196,22 @@ const int32_t kPrefHintStoreRetained = 7;
|
| const int32_t kPrefHintWritebackInvalidate = 25;
|
| const int32_t kPrefHintPrepareForStore = 30;
|
|
|
| +class FloatConstants {
|
| + public:
|
| + static const uint32_t kExponentMask = 0x7f800000;
|
| + static const uint32_t kMantissaMask = 0x007fffff;
|
| + static const uint32_t kNanTypeMask = 0x00400000;
|
| + static const uint32_t kSignMask = 0x80000000;
|
| +};
|
| +
|
| +class DoubleConstants {
|
| + public:
|
| + static const uint32_t kExponentMask = 0x7ff00000;
|
| + static const uint32_t kMantissaMask = 0x000fffff;
|
| + static const uint32_t kNanTypeMask = 0x00080000;
|
| + static const uint32_t kSignMask = 0x80000000;
|
| +};
|
| +
|
| // Helper functions for converting between register numbers and names.
|
| class Registers {
|
| public:
|
|
|