mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-09-18 01:31:53 +00:00
PowerPC: float compare should set great that
flag, but not overflow
This commit is contained in:
parent
f4c042544a
commit
62561121aa
|
@ -138,7 +138,6 @@ define pcodeop ConvertFloatingPointFromUnsignedFraction;
|
|||
}
|
||||
|
||||
# efscmpeq CRFD,rA,rB 010 1100 1110
|
||||
#define pcodeop FloatingPointCompareEqual;
|
||||
:efscmpeq CRFD,A,B is OP=4 & CRFD & A & B & XOP_0_10=0x2CE & BITS_21_22=0
|
||||
{
|
||||
CRFD[2,1] = A:4 f== B:4;
|
||||
|
@ -148,14 +147,12 @@ define pcodeop ConvertFloatingPointFromUnsignedFraction;
|
|||
# Page 415
|
||||
|
||||
# efscmpgt CRFD,rA,rB 010 1100 1100
|
||||
#define pcodeop FloatingPointCompareGreaterThan;
|
||||
:efscmpgt CRFD,A,B is OP=4 & CRFD & A & B & XOP_0_10=0x2CC & BITS_21_22=0
|
||||
{
|
||||
CRFD[2,1] = A:4 f> B:4;
|
||||
}
|
||||
|
||||
# efscmplt CRFD,rA,rB 010 1100 1101
|
||||
#define pcodeop FloatingPointCompareLessThan;
|
||||
:efscmplt CRFD,A,B is OP=4 & CRFD & A & B & XOP_0_10=0x2CD & BITS_21_22=0
|
||||
{
|
||||
CRFD[2,1] = A:4 f< B:4;
|
||||
|
|
Loading…
Reference in a new issue