mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Fix a couple ARM VFPU flags.
Unknown's explanation: LO means Lower (unsigned), but for floats, it means "Less than". LT means Lower (signed), but for floats it means "Less than OR unordered". ARM docs at http://infocenter.arm.com/help/topic/com.arm.doc.dui0068b/Chdhcfbc.html explain the following: LE means Signed less than or equal, and for floats it means "Less than or equal, or unordered". LS means Unsigned lower or same, but for floats, it means "Less than or equal"
This commit is contained in:
1 parent
dd10207666
commit
086d97516d
1 file changed
+2
-2
@@ -1611,14 +1611,14 @@ namespace MIPSComp
|
||||
fpr.MapInInV(sregs[i], tregs[i]);
|
||||
VCMP(fpr.V(sregs[i]), fpr.V(tregs[i]));
|
||||
VMRS_APSR();
|
||||
flag = CC_LT;
|
||||
flag = CC_LO;
|
||||
break;
|
||||
|
||||
case VC_LE: // c = s[i] <= t[i];
|
||||
fpr.MapInInV(sregs[i], tregs[i]);
|
||||
VCMP(fpr.V(sregs[i]), fpr.V(tregs[i]));
|
||||
VMRS_APSR();
|
||||
flag = CC_LE;
|
||||
flag = CC_LS;
|
||||
break;
|
||||
|
||||
case VC_NE: // c = s[i] != t[i]
|
||||
|
||||
Reference in new issue
Block a user