armjit clamp: Clamp negative 0 to positive 0.

This commit is contained in:
Henrik Rydgard committed 2013-07-31 11:22:04 +02:00
1 parent c8604f3c30
commit 9bf8bfbed4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ namespace MIPSComp
MOVI2F(S0, 0.0f, R0);
MOVI2F(S1, 1.0f, R0);
VCMP(fpr.V(vregs[i]), S0);
SetCC(CC_LT);
SetCC(CC_LE);
VMOV(fpr.V(vregs[i]), S0);
SetCC(CC_AL);
VCMP(fpr.V(vregs[i]), S1);