mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
target/arm: Decode PAuth within disas_data_proc_2src
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190108223129.5570-10-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
95ebd99dcd
commit
b6342a9f92
1 changed files with 8 additions and 0 deletions
|
@ -4884,6 +4884,13 @@ static void disas_data_proc_2src(DisasContext *s, uint32_t insn)
|
||||||
case 11: /* RORV */
|
case 11: /* RORV */
|
||||||
handle_shift_reg(s, A64_SHIFT_TYPE_ROR, sf, rm, rn, rd);
|
handle_shift_reg(s, A64_SHIFT_TYPE_ROR, sf, rm, rn, rd);
|
||||||
break;
|
break;
|
||||||
|
case 12: /* PACGA */
|
||||||
|
if (sf == 0 || !dc_isar_feature(aa64_pauth, s)) {
|
||||||
|
goto do_unallocated;
|
||||||
|
}
|
||||||
|
gen_helper_pacga(cpu_reg(s, rd), cpu_env,
|
||||||
|
cpu_reg(s, rn), cpu_reg_sp(s, rm));
|
||||||
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
case 17:
|
case 17:
|
||||||
case 18:
|
case 18:
|
||||||
|
@ -4899,6 +4906,7 @@ static void disas_data_proc_2src(DisasContext *s, uint32_t insn)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
do_unallocated:
|
||||||
unallocated_encoding(s);
|
unallocated_encoding(s);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue