aboutsummaryrefslogtreecommitdiff
path: root/target/arm/tcg/a64.decode
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-05-12 15:41:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-05-18 11:32:41 +0100
commitf8977d50fc43176ca33796e36e7cd40e809c3628 (patch)
treecd0ccc545bbc1c3ced8bb45c8165cc2ffb4107e3 /target/arm/tcg/a64.decode
parent6201b2a4d050548731eae88c770106352271749e (diff)
downloadqemu-f8977d50fc43176ca33796e36e7cd40e809c3628.zip
qemu-f8977d50fc43176ca33796e36e7cd40e809c3628.tar.gz
qemu-f8977d50fc43176ca33796e36e7cd40e809c3628.tar.bz2
target/arm: Convert CBZ, CBNZ to decodetree
Convert the compare-and-branch-immediate insns CBZ and CBNZ to decodetree. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230512144106.3608981-15-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/tcg/a64.decode')
-rw-r--r--target/arm/tcg/a64.decode5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/tcg/a64.decode b/target/arm/tcg/a64.decode
index 483e364..f5759a6 100644
--- a/target/arm/tcg/a64.decode
+++ b/target/arm/tcg/a64.decode
@@ -113,3 +113,8 @@ EXTR 0 00 100111 0 0 rm:5 0 imm:5 rn:5 rd:5 &extract sf=0
B 0 00101 .......................... @branch
BL 1 00101 .......................... @branch
+
+%imm19 5:s19 !function=times_4
+&cbz rt imm sf nz
+
+CBZ sf:1 011010 nz:1 ................... rt:5 &cbz imm=%imm19