Index: src/mips64/constants-mips64.h |
diff --git a/src/mips64/constants-mips64.h b/src/mips64/constants-mips64.h |
index d5b9dcae6eb6b122a0ecf924c2f6ff115f0731b7..668c784ed0192894ba91fe52f5a81380f084fc82 100644 |
--- a/src/mips64/constants-mips64.h |
+++ b/src/mips64/constants-mips64.h |
@@ -119,8 +119,11 @@ const int kInvalidFPURegister = -1; |
const int kFCSRRegister = 31; |
const int kInvalidFPUControlRegister = -1; |
const uint32_t kFPUInvalidResult = static_cast<uint32_t>(1 << 31) - 1; |
+const int32_t kFPUInvalidResultNegative = static_cast<int32_t>(1 << 31); |
const uint64_t kFPU64InvalidResult = |
static_cast<uint64_t>(static_cast<uint64_t>(1) << 63) - 1; |
+const int64_t kFPU64InvalidResultNegative = |
+ static_cast<int64_t>(static_cast<uint64_t>(1) << 63); |
// FCSR constants. |
const uint32_t kFCSRInexactFlagBit = 2; |
@@ -128,12 +131,14 @@ const uint32_t kFCSRUnderflowFlagBit = 3; |
const uint32_t kFCSROverflowFlagBit = 4; |
const uint32_t kFCSRDivideByZeroFlagBit = 5; |
const uint32_t kFCSRInvalidOpFlagBit = 6; |
+const uint32_t kFCSRNaN2008FlagBit = 18; |
const uint32_t kFCSRInexactFlagMask = 1 << kFCSRInexactFlagBit; |
const uint32_t kFCSRUnderflowFlagMask = 1 << kFCSRUnderflowFlagBit; |
const uint32_t kFCSROverflowFlagMask = 1 << kFCSROverflowFlagBit; |
const uint32_t kFCSRDivideByZeroFlagMask = 1 << kFCSRDivideByZeroFlagBit; |
const uint32_t kFCSRInvalidOpFlagMask = 1 << kFCSRInvalidOpFlagBit; |
+const uint32_t kFCSRNaN2008FlagMask = 1 << kFCSRNaN2008FlagBit; |
const uint32_t kFCSRFlagMask = |
kFCSRInexactFlagMask | |