From 4fedfc72f62e04d9a960a0b1f656e992cfb2b8ad Mon Sep 17 00:00:00 2001 From: Arthur Blot Date: Thu, 8 Nov 2012 14:23:55 +0100 Subject: [PATCH] Implemented the EN vcmp instruction --- Core/MIPS/MIPSIntVFPU.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/MIPS/MIPSIntVFPU.cpp b/Core/MIPS/MIPSIntVFPU.cpp index d2423d6c18..ece6463551 100644 --- a/Core/MIPS/MIPSIntVFPU.cpp +++ b/Core/MIPS/MIPSIntVFPU.cpp @@ -1124,8 +1124,9 @@ namespace MIPSInt case VC_GE: c = s[i] >= t[i]; break; case VC_NZ: c = s[i] != 0; break; case VC_ES: c = (s[i] != s[i]) || (s[i] == std::numeric_limits::infinity()); break; // Tekken Dark Resurrection + case VC_EN: c = isnan(s[i]); break; default: - _dbg_assert_msg_(CPU,0,"Unsupported vcmp condition code"); //, cond); + _dbg_assert_msg_(CPU,0,"Unsupported vcmp condition code %d", cond); return; } cc |= (c<