[AArch64][SVE] Asm: Support for saturing ADD/SUB instructions.
authorSander de Smalen <sander.desmalen@arm.com>
Tue, 3 Jul 2018 09:48:22 +0000 (09:48 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Tue, 3 Jul 2018 09:48:22 +0000 (09:48 +0000)
commit7fc854320861b4ff2e7bed6387d75b4f030c03c5
tree1d0e9812d7d93b1c86bb25e666b07042c008cd9e
parent226e6117ae8b360ec4398510335c3c84469e06b4
[AArch64][SVE] Asm: Support for saturing ADD/SUB instructions.

The variants added are:
    signed Saturating ADD/SUB (immediate)  e.g. sqadd z0.h, z0.h, #42
  unsigned Saturating ADD/SUB (immediate)  e.g. uqadd z0.h, z0.h, #42
    signed Saturating ADD/SUB (vectors)    e.g. sqadd z0.h, z0.h, z1.h
  unsigned Saturating ADD/SUB (vectors)    e.g. uqadd z0.h, z0.h, z1.h

llvm-svn: 336186
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/test/MC/AArch64/SVE/sqadd-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/sqadd.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/sqsub-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/sqsub.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uqadd-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uqadd.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uqsub-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uqsub.s [new file with mode: 0644]