[PATCH] D137431: [AArch64] RME MEC instructions and system registers
Keith Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 4 08:27:32 PDT 2022
keith.walker.arm created this revision.
keith.walker.arm added reviewers: olista01, dmgaust, vhscampos.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
keith.walker.arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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
Memory Encryption Contexts were announced in
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022
The instruction encodings for the MEC feature is available at
https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/DC--Data-Cache-operation--an-alias-of-SYS-?lang=en
The system register encodings available at
https://developer.arm.com/documentation/ddi0601/2022-09/AArch64-Registers?lang=en
Based on patches by Son Tuan Vu
https://reviews.llvm.org/D137431
Files:
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
llvm/test/MC/Disassembler/AArch64/armv9a-mec.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137431.473242.patch
Type: text/x-patch
Size: 9205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221104/aa11df0b/attachment.bin>
More information about the llvm-commits
mailing list