From 6d97ccee649c39caad258e6e2a7b16ed6780d2bb Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Fri, 12 Feb 2021 13:50:37 +0900 Subject: [PATCH] Fix ARM Neon VMRS instruction for little endian --- Ghidra/Processors/ARM/data/languages/ARMneon.sinc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc b/Ghidra/Processors/ARM/data/languages/ARMneon.sinc index 5c2470ae85..aff8f018f7 100644 --- a/Ghidra/Processors/ARM/data/languages/ARMneon.sinc +++ b/Ghidra/Processors/ARM/data/languages/ARMneon.sinc @@ -3049,7 +3049,7 @@ define pcodeop VectorCopyNarrow; @if defined(VFPv2) || defined(VFPv3) || defined(SIMD) -:vmrs^COND VRd,fpscr is COND & ( ($(AMODE) & c1627=0xef1 & c0011=0xa10) | ($(TMODE_E) & c1627=0xef1 & c0011=0xa10)) & fpscr & VRd +:vmrs^COND VRd,fpscr is COND & ( ($(AMODE) & c1627=0xef1 & c0011=0xa10) | ($(TMODE_E) & thv_c1627=0xef1 & thv_c0011=0xa10)) & fpscr & VRd { VRd = fpscr; }