[all-commits] [llvm/llvm-project] 82bd0b: [AArch64] Make PMMIR_EL1 read-only.

Simon Tatham via All-commits all-commits at lists.llvm.org
Tue Apr 5 03:10:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82bd0bd24f61c914f1812646b281c1d0960df0bf
      https://github.com/llvm/llvm-project/commit/82bd0bd24f61c914f1812646b281c1d0960df0bf
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SystemOperands.td
    M llvm/test/MC/AArch64/basic-a64-diagnostics.s
    M llvm/test/MC/AArch64/basic-a64-instructions.s
    M llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt

  Log Message:
  -----------
  [AArch64] Make PMMIR_EL1 read-only.

The Arm architecture reference manual (ARM DDI 0487H.a section
D13.5.12) lists every field in the register as RO, and does not list
an MSR instruction that writes it. So we should be defining it as an
ROSysReg, not an RWSysReg.

Reviewed By: vhscampos

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




More information about the All-commits mailing list