[PATCH] D90594: [AArch64] Enable RAS 1.1 system registers in all AArch64

Pablo Barrio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 03:33:51 PST 2020


pbarrio created this revision.
pbarrio added reviewers: dnsampaio, vhscampos, chill, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
pbarrio requested review of this revision.

Some use cases (e.g. kernel devs) have strict requirements to only enable
features available with -march=armv8-a, e.g. no armv8.1-a. Enabling RAS 1.1 in
all AArch64 means they can consider to support it.

Bear in mind that the first versions of the Armv8 architecture still do not
support RAS 1.1. This patch only lets devs write code with the user-friendly
register mnemonic instead of the ugly generic S<op0>_<op1>_<Cn>_<Cm>_<op2>.
They still need to place runtime checks to make sure that the CPU to run on
supports RAS 1.1.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90594

Files:
  llvm/lib/Target/AArch64/AArch64.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/lib/Target/AArch64/AArch64SystemOperands.td
  llvm/test/MC/AArch64/armv8.4a-ras.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90594.302239.patch
Type: text/x-patch
Size: 5962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201102/ac6f3dca/attachment.bin>


More information about the llvm-commits mailing list