[all-commits] [llvm/llvm-project] 605e22: [AArch64] Add Missing System Registers

Sam Elliott via All-commits all-commits at lists.llvm.org
Thu Nov 24 09:48:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 605e22b7d414fa1624c29e7cdcfa231aa454dad3
      https://github.com/llvm/llvm-project/commit/605e22b7d414fa1624c29e7cdcfa231aa454dad3
  Author: Archibald Elliott <archibald.elliott at arm.com>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

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

  Log Message:
  -----------
  [AArch64] Add Missing System Registers

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.

Differential Revision: https://reviews.llvm.org/D138553




More information about the All-commits mailing list