mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
armjit: Fix D-prefix sat clamp NAN handling.
They should leave NAN alone.
This commit is contained in:
1 parent
bc32f0e0b2
commit
69b0b622be
2 files changed
+3
-3
No files matched your search
@@ -194,7 +194,7 @@ namespace MIPSComp
|
||||
MOVI2F(S1, 1.0f, SCRATCHREG1);
|
||||
VCMP(fpr.V(vregs[i]), S0);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_LE);
|
||||
SetCC(CC_LS);
|
||||
VMOV(fpr.V(vregs[i]), S0);
|
||||
SetCC(CC_AL);
|
||||
VCMP(fpr.V(vregs[i]), S1);
|
||||
@@ -209,7 +209,7 @@ namespace MIPSComp
|
||||
MOVI2F(S1, 1.0f, SCRATCHREG1);
|
||||
VCMP(fpr.V(vregs[i]), S0);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_LT);
|
||||
SetCC(CC_LO);
|
||||
VMOV(fpr.V(vregs[i]), S0);
|
||||
SetCC(CC_AL);
|
||||
VCMP(fpr.V(vregs[i]), S1);
|
||||
|
||||
Reference in new issue
Block a user