[all-commits] [llvm/llvm-project] a67db8: [AArch64] Make Read Write System Registers Read Only

Luke Geeson via All-commits all-commits at lists.llvm.org
Mon Feb 10 06:34:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a67db83681f3dfe2950ad8d2b2addb5d6f175ad3
      https://github.com/llvm/llvm-project/commit/a67db83681f3dfe2950ad8d2b2addb5d6f175ad3
  Author: Luke Geeson <luke.geeson at arm.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SystemOperands.td
    M llvm/test/MC/AArch64/arm64-system-encoding.s
    M llvm/test/MC/AArch64/armv8.2a-statistical-profiling.s
    M llvm/test/MC/AArch64/basic-a64-diagnostics.s
    M llvm/test/MC/AArch64/basic-a64-instructions.s
    M llvm/test/MC/AArch64/gicv3-regs-diagnostics.s
    M llvm/test/MC/AArch64/gicv3-regs.s
    M llvm/test/MC/Disassembler/AArch64/armv8.2a-statistical-profiling.txt
    M llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt
    M llvm/test/MC/Disassembler/AArch64/gicv3-regs.txt

  Log Message:
  -----------
  [AArch64] Make Read Write System Registers Read Only

This patch makes the following System Registers Read Only:

 - CurrentEL
 - ICH_MISR_EL2
 - PMBIDR_EL1
 - PMSIDR_EL1

as found in:
https://developer.arm.com/docs/ddi0595/e/aarch64-system-registers

Relative line numbers were also added to the tests so we get more
informative error messages on failure.

Change-Id: I963b4f01ca5737b58f9e8e7abe9ca1d99e328758




More information about the All-commits mailing list