Commit 1cf86a86 authored by Remi Denis-Courmont's avatar Remi Denis-Courmont Committed by Peter Maydell
Browse files

target/arm: fix decoding of B{,L}RA{A,B}

A flawed test lead to the instructions always being treated as
unallocated encodings.

Fixes: https://bugs.launchpad.net/bugs/1813460


Signed-off-by: default avatarRemi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent f6768aa1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2036,7 +2036,7 @@ static void disas_uncond_b_reg(DisasContext *s, uint32_t insn)
        if (!dc_isar_feature(aa64_pauth, s)) {
            goto do_unallocated;
        }
        if (op3 != 2 || op3 != 3) {
        if ((op3 & ~1) != 2) {
            goto do_unallocated;
        }
        if (s->pauth_active) {