[AArch64] RME MEC instructions and system registers
authorKeith Walker <keith.walker@arm.com>
Fri, 4 Nov 2022 10:02:29 +0000 (10:02 +0000)
committerKeith Walker <keith.walker@arm.com>
Thu, 10 Nov 2022 14:05:12 +0000 (14:05 +0000)
commit00d98e6572d1127a953757aee3adc14439645f56
tree9d1619f5c8036459ac552b39e7cb96f784ad4df4
parent4299ff548e96a4981cda17a80573f4a71816a02a
[AArch64] RME MEC instructions and system registers

This patch adds assembler/disassembler support for
RME MEC (Memory Encryption Contexts).

Cache maintence instructions added:
- DC CIPAPA
- DC CIGDPAPA

System registers added:
- MECIDR_EL2
- MECID_P0_EL2
- MECID_A0_EL2
- MECID_P1_EL2
- MECID_A1_EL2
- VMECID_P_EL2
- VMECID_A_EL2
- MECID_RL_A_EL3

Differential Revision: https://reviews.llvm.org/D137431
llvm/docs/ReleaseNotes.rst
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64SystemOperands.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/armv9a-mec.s [new file with mode: 0644]
llvm/test/MC/Disassembler/AArch64/armv9a-mec.txt [new file with mode: 0644]