[AArch64][SVE] Asm: Support for instructions to set/read FFR.
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 4 Jul 2018 12:58:46 +0000 (12:58 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 4 Jul 2018 12:58:46 +0000 (12:58 +0000)
commitab2b0530d934fbacd6b9bf1dde240b948869b886
treedab9cfd558e4377b934986ced1fc8d230a6cb73b
parente945fad2509396a9ad3b677b27fb4f4b6bb2633e
[AArch64][SVE] Asm: Support for instructions to set/read FFR.

Includes instructions to read the First-Faulting Register (FFR):
- RDFFR (unpredicated)
    rdffr   p0.b
- RDFFR (predicated)
    rdffr   p0.b, p0/z
- RDFFRS (predicated, sets condition flags)
    rdffr   p0.b, p0/z

Includes instructions to set/write the FFR:
- SETFFR (no arguments, sets the FFR to all true)
    setffr
- WRFFR  (unpredicated)
    wrffr   p0.b

llvm-svn: 336267
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/MC/AArch64/SVE/rdffr-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/rdffr.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/rdffrs-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/rdffrs.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/setffr.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/wrffr-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/wrffr.s [new file with mode: 0644]