summaryrefslogtreecommitdiffstats
path: root/target/arm/a32-uncond.decode
diff options
context:
space:
mode:
authorRichard Henderson2019-09-04 21:30:22 +0200
committerPeter Maydell2019-09-05 14:23:03 +0200
commit360144f3b99f9a626ffcc6b9d76537e3a3e0e708 (patch)
treedb6c7cf4e772592698dad590c4432ab2218e7de6 /target/arm/a32-uncond.decode
parenttarget/arm: Diagnose base == pc for LDM/STM (diff)
downloadqemu-360144f3b99f9a626ffcc6b9d76537e3a3e0e708.tar.gz
qemu-360144f3b99f9a626ffcc6b9d76537e3a3e0e708.tar.xz
qemu-360144f3b99f9a626ffcc6b9d76537e3a3e0e708.zip
target/arm: Convert B, BL, BLX (immediate)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190904193059.26202-33-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/a32-uncond.decode')
-rw-r--r--target/arm/a32-uncond.decode8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/arm/a32-uncond.decode b/target/arm/a32-uncond.decode
index 8dee26d3b6..573ac2cf8e 100644
--- a/target/arm/a32-uncond.decode
+++ b/target/arm/a32-uncond.decode
@@ -21,3 +21,11 @@
# All insns that have 0xf in insn[31:28] are decoded here.
# All of those that have a COND field in insn[31:28] are in a32.decode
#
+
+&i !extern imm
+
+# Branch with Link and Exchange
+
+%imm24h 0:s24 24:1 !function=times_2
+
+BLX_i 1111 101 . ........................ &i imm=%imm24h