OSDN Git Service

Merging r340158:
authorHans Wennborg <hans@hanshq.net>
Tue, 21 Aug 2018 22:49:06 +0000 (22:49 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 21 Aug 2018 22:49:06 +0000 (22:49 +0000)
commitfbe33461a4b535d079cbe9b678c1694c239bcbd0
treea2674f9d298c910dcca9dcb1b12a5961bd7b1c2d
parent9a7960e4e943662ec7f79a078407cd0eeeef831e
Merging r340158:
------------------------------------------------------------------------
r340158 | s.desmalen | 2018-08-20 11:16:59 +0200 (Mon, 20 Aug 2018) | 16 lines

[AArch64][SVE] Asm: Add SVE System registers

This patch adds system registers for controlling aspects of SVE:
- ZCR_EL1  (r/w)   visible at EL1 and EL0.
- ZCR_EL2  (r/w)   visible at EL2 and Non-secure EL1 and EL0.
- ZCR_EL3  (r/w)   visible at all exception levels.

and a system register identifying SVE:
- ID_AA64ZFR0_EL1  (r)  SVE Feature identifier.

Reviewers: SjoerdMeijer, samparker, pbarrio, fhahn, javed.absar

Reviewed By: SjoerdMeijer

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

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340355 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64SystemOperands.td
test/MC/AArch64/SVE/system-regs-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE/system-regs.s [new file with mode: 0644]