Ghidra is a software reverse engineering (SRE) framework
PPC64 VLE fix for se_cmpli
mumbel1bce22e2c73b
diff --git a/Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc b/Ghidra/Processors/PowerPC/data/languages/ppc_vle.sincindex 72c4d3bed3..6f948357f1 100644--- a/Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc+++ b/Ghidra/Processors/PowerPC/data/languages/ppc_vle.sinc@@ -589,9 +589,9 @@ IMM16B: val is IMM_0_10_VLE & IMM_16_20_VLE [ val = (IMM_16_20_VLE << 11) |cr0 = ((tmpA < tmpB) << 3) | ((tmpA > tmpB) << 2) | ((tmpA == tmpB) << 1) | (xer_so & 1);}-:se_cmpli RX_VLE,OIM5_VLE is $(ISVLE) & OP6_VLE=8 & BIT9_VLE=1 & RX_VLE & OIM5_VLE {+:se_cmpli RX_VLE,OIMM is $(ISVLE) & OP6_VLE=8 & BIT9_VLE=1 & RX_VLE & OIMM {tmpA:4 = RX_VLE:4;- tmpB:4 = OIM5_VLE;+ tmpB:4 = OIMM:4 & 0x1f;cr0 = ((tmpA < tmpB) << 3) | ((tmpA > tmpB) << 2) | ((tmpA == tmpB) << 1) | (xer_so & 1);}