mips: definition of MIPS64_QNAN in registers.hh
authorDeyuan Guo <guodeyuan@tsinghua.org.cn>
Thu, 12 Jan 2012 14:58:58 +0000 (09:58 -0500)
committerDeyuan Guo <guodeyuan@tsinghua.org.cn>
Thu, 12 Jan 2012 14:58:58 +0000 (09:58 -0500)
src/arch/mips/registers.hh

index dce7858bf545567ac85636e81a9549bd221563af..d3cf1650d33ea2426870ad559adbb744d0e95944 100644 (file)
@@ -55,7 +55,7 @@ const int NumIntRegs = NumIntArchRegs + NumIntSpecialRegs;        //HI & LO Regs
 const int NumFloatRegs = NumFloatArchRegs + NumFloatSpecialRegs;//
 
 const uint32_t MIPS32_QNAN = 0x7fbfffff;
-const uint64_t MIPS64_QNAN = ULL(0x7fbfffffffffffff);
+const uint64_t MIPS64_QNAN = ULL(0x7ff7ffffffffffff);
 
 enum FPControlRegNums {
    FLOATREG_FIR = NumFloatArchRegs,