[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 09/31] target/arm: Decode PAuth within disas_data
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v3 09/31] target/arm: Decode PAuth within disas_data_proc_2src |
Date: |
Wed, 9 Jan 2019 08:31:07 +1000 |
Reviewed-by: Peter Maydell <address@hidden>
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 8a8408c1b7..3f08db580b 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;
}
--
2.17.2
- Re: [Qemu-devel] [PATCH v3 01/31] target/arm: Add state for the ARMv8.3-PAuth extension, (continued)
- [Qemu-devel] [PATCH v3 02/31] target/arm: Add SCTLR bits through ARMv8.5, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 03/31] target/arm: Add PAuth active bit to tbflags, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 04/31] target/arm: Introduce raise_exception_ra, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 05/31] target/arm: Add PAuth helpers, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 06/31] target/arm: Decode PAuth within system hint space, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 07/31] target/arm: Rearrange decode in disas_data_proc_1src, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 08/31] target/arm: Decode PAuth within disas_data_proc_1src, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 09/31] target/arm: Decode PAuth within disas_data_proc_2src,
Richard Henderson <=
- [Qemu-devel] [PATCH v3 11/31] target/arm: Add new_pc argument to helper_exception_return, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 10/31] target/arm: Move helper_exception_return to helper-a64.c, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 12/31] target/arm: Rearrange decode in disas_uncond_b_reg, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 13/31] target/arm: Decode PAuth within disas_uncond_b_reg, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 16/31] target/arm: Introduce arm_mmu_idx, Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 14/31] target/arm: Decode Load/store register (pac), Richard Henderson, 2019/01/08
- [Qemu-devel] [PATCH v3 15/31] target/arm: Move cpu_mmu_index out of line, Richard Henderson, 2019/01/08