mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
PowerPC: float compare should set great that flag, but not overflow
This commit is contained in:
committed by
ghidra1
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;
|
||||
|
||||
Reference in New Issue
Block a user