[PATCH] D138553: [AArch64] Add Missing System Registers

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 01:52:39 PST 2022


lenary created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
lenary requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The following system registers have been missing upstream:

- ID_DFR1_EL1
- AMCG1IDR_EL0 (present when FEAT_AMUv1p1 implemented - optional from v8.6-a)
- HAFGRTR_EL2 (present when FEAT_AMUv1 and FEAT_FGT are implemented)

With regards to HAFGRTR_EL2, this is only present when you have both
extensions. As FEAT_FGT is part of a later architecture, we group it
with those registers. In all honesty, this is a good example of the
kinds of place where just enabling all system registers all the time
would be easiest.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138553

Files:
  llvm/lib/Target/AArch64/AArch64SystemOperands.td
  llvm/test/MC/AArch64/arm64-system-encoding.s
  llvm/test/MC/AArch64/armv8.6a-amvs.s
  llvm/test/MC/AArch64/armv8.6a-fgt.s
  llvm/test/MC/AArch64/basic-a64-diagnostics.s
  llvm/test/MC/AArch64/basic-a64-instructions.s
  llvm/test/MC/Disassembler/AArch64/armv8.6a-amvs.s
  llvm/test/MC/Disassembler/AArch64/armv8.6a-fgt.txt
  llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138553.477419.patch
Type: text/x-patch
Size: 11125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/7550ff1b/attachment.bin>


More information about the llvm-commits mailing list