From 62561121aa7c6c873eb32f1e51361af7016f5961 Mon Sep 17 00:00:00 2001 From: Alexey Esaulenko Date: Sun, 14 Mar 2021 22:32:34 +0300 Subject: [PATCH] PowerPC: float compare should set `great that` flag, but not `overflow` --- Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc | 3 --- 1 file changed, 3 deletions(-) diff --git a/Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc b/Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc index f1c10dec52..6f812bcc43 100644 --- a/Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc +++ b/Ghidra/Processors/PowerPC/data/languages/Scalar_SPFP.sinc @@ -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;