[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/26] target/arm: Decode PAuth within disas_dat
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 08/26] target/arm: Decode PAuth within disas_data_proc_2src |
Date: |
Tue, 11 Dec 2018 15:31:59 +0000 |
On Fri, 7 Dec 2018 at 10:36, Richard Henderson
<address@hidden> wrote:
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/arm/translate-a64.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
> index 7ba4c996cf..d034a5edf3 100644
> --- a/target/arm/translate-a64.c
> +++ b/target/arm/translate-a64.c
> @@ -4884,6 +4884,13 @@ static void disas_data_proc_2src(DisasContext *s,
> uint32_t insn)
> case 11: /* RORV */
> handle_shift_reg(s, A64_SHIFT_TYPE_ROR, sf, rm, rn, rd);
> 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 17:
> case 18:
> @@ -4899,6 +4906,7 @@ static void disas_data_proc_2src(DisasContext *s,
> uint32_t insn)
> break;
> }
> default:
> + do_unallocated:
> unallocated_encoding(s);
> break;
> }
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [Qemu-devel] [PATCH 03/26] target/arm: Add PAuth active bit to tbflags, (continued)
- [Qemu-devel] [PATCH 03/26] target/arm: Add PAuth active bit to tbflags, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 01/26] target/arm: Add state for the ARMv8.3-PAuth extension, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 04/26] target/arm: Add PAuth helpers, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 06/26] target/arm: Rearrange decode in disas_data_proc_1src, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 05/26] target/arm: Decode PAuth within system hint space, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 08/26] target/arm: Decode PAuth within disas_data_proc_2src, Richard Henderson, 2018/12/07
- Re: [Qemu-devel] [PATCH 08/26] target/arm: Decode PAuth within disas_data_proc_2src,
Peter Maydell <=
- [Qemu-devel] [PATCH 07/26] target/arm: Decode PAuth within disas_data_proc_1src, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 09/26] target/arm: Move helper_exception_return to helper-a64.c, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 10/26] target/arm: Add new_pc argument to helper_exception_return, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 11/26] target/arm: Rearrange decode in disas_uncond_b_reg, Richard Henderson, 2018/12/07
- [Qemu-devel] [PATCH 15/26] target/arm: Introduce arm_mmu_idx, Richard Henderson, 2018/12/07