diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index ff12382fd0..73217d132c 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -925,7 +925,7 @@ namespace MIPSInt case 2: //eq case 10: //seq - cond = (F(fs) == F(ft)); + cond = !my_isnan(F(fs)) && !my_isnan(F(ft)) && (F(fs) == F(ft)); break; case 3: //ueq