Implemented the EN vcmp instruction

This commit is contained in:
Arthur Blot committed 2012-11-08 14:23:55 +01:00
1 parent 449eceadba
commit 4fedfc72f6
1 file changed
+2 -1
+2 -1
View File
@@ -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<float>::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<<i);