Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-6750: Fixed disassembly error for ARM neon simdExpImm_16

ghidorahrex2b4efbfd681a
diff --git a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc b/Ghidra/Processors/ARM/data/languages/ARMneon.sinc
index 7862e72bdc..0ef7ad2754 100644
--- a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc
+++ b/Ghidra/Processors/ARM/data/languages/ARMneon.sinc
@@ -548,7 +548,8 @@ simdExpImm_8: "#"^imm is TMode=1 & thv_c2828 & thv_c1818 & thv_c1717 & thv_c161
# see note d
simdExpImm_16: "#"^imm is (TMode=0 & c2424=0 & c1618=0 & c0003=0) |
(TMode=1 & thv_c2828=0 & thv_c1618=0 & thv_c0003=0) [ imm = 0; ] {
- export *[const]:16 imm;
+ tmp:16 = 0;
+ export *[const]:16 tmp;
}
# cmode 0xxx I32