Ghidra is a software reverse engineering (SRE) framework
ARM: Handle disassembly of conditional VNMLS for F32/F64
Lioncash644f3c344986
diff --git a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc b/Ghidra/Processors/ARM/data/languages/ARMneon.sincindex f52bbfb41c..72c515c55b 100644--- a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc+++ b/Ghidra/Processors/ARM/data/languages/ARMneon.sinc@@ -3151,26 +3151,26 @@ define pcodeop FloatVectorNeg;Sd = zext(product);}-:vnmls.f64 Dd,Dn,Dm is COND & ( ($(AMODE) & cond=15 & c2327=0x1c & c2021=1 & c0811=11 & c0606=0 & c0404=0) |- ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=11 & thv_c0606=0 & thv_c0404=0) ) & Dm & Dn & Dd+:vnmls^COND^".f64" Dd,Dn,Dm is ( ($(AMODE) & COND & c2327=0x1c & c2021=1 & c0811=11 & c0606=0 & c0404=0) |+ ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=11 & thv_c0606=0 & thv_c0404=0) ) & Dm & Dn & Dd{- product:8 = Dn f* Dm;- Dd = product f- Dd;+ product:8 = Dn f* Dm;+ Dd = product f- Dd;}-:vnmls.f32 Sd,Sn,Sm is COND & ( ($(AMODE) & cond=15 & c2327=0x1c & c2021=1 & c0811=10 & c0606=0 & c0404=0) |- ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=10 & thv_c0606=0 & thv_c0404=0) ) & Sm & Sn & Sd+:vnmls^COND^".f32" Sd,Sn,Sm is ( ($(AMODE) & COND & c2327=0x1c & c2021=1 & c0811=10 & c0606=0 & c0404=0) |+ ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=10 & thv_c0606=0 & thv_c0404=0) ) & Sm & Sn & Sd{- product:4 = Sn f* Sm;- Sd = product f- Sd;+ product:4 = Sn f* Sm;+ Sd = product f- Sd;}-:vnmls.f16 Sd,Sn,Sm is COND & ( ($(AMODE) & cond=15 & c2327=0x1c & c2021=1 & c0811=9 & c0606=0 & c0404=0) |- ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=9 & thv_c0606=0 & thv_c0404=0) ) & Sm & Sn & Sd+:vnmls.f16 Sd,Sn,Sm is ( ($(AMODE) & cond=0xe & c2327=0x1c & c2021=1 & c0811=9 & c0606=0 & c0404=0) |+ ($(TMODE_E) & thv_c2327=0x1c & thv_c2021=1 & thv_c0811=9 & thv_c0606=0 & thv_c0404=0) ) & Sm & Sn & Sd{- product:2 = Sn:2 f* Sm:2;- product = product f- Sd:2;- Sd = zext(product);+ product:2 = Sn:2 f* Sm:2;+ product = product f- Sd:2;+ Sd = zext(product);}:vnmul^COND^".f64" Dd,Dn,Dm is ( ($(AMODE) & COND & c2327=0x1c & c2021=2 & c0811=11 & c0606=1 & c0404=0) |