mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
dd10207666
commit
086d97516d
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue