mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 08:48:13 +00:00
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 Backports commit 1cf86a8618644beb860951ff4383457ee88a7f4a from qemu
This commit is contained in:
parent
a20bb60f06
commit
0b7f1ff086
1 changed files with 1 additions and 1 deletions
|
@ -2117,7 +2117,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) {
|
||||
|
|
Loading…
Reference in a new issue