[PATCH] D73950: [AArch64] Make Read Write System Registers Read Only

Luke Geeson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 04:07:38 PST 2020


LukeGeeson created this revision.
LukeGeeson added a reviewer: simon_tatham.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73950

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73950.242287.patch
Type: text/x-patch
Size: 11133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/5553ff18/attachment.bin>


More information about the llvm-commits mailing list