]> granicus.if.org Git - llvm/commit
[AArch64][SVE2] Asm: add int halving add/sub (predicated) instructions
authorCullen Rhodes <cullen.rhodes@arm.com>
Mon, 20 May 2019 10:35:23 +0000 (10:35 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Mon, 20 May 2019 10:35:23 +0000 (10:35 +0000)
commit88ea355812554574a6a376f022baec55e77cfac8
tree3cab72296ff00e5f8ab6648235c027f02d635c87
parent72cc54d9de1af4dcdf90bee898bb013a1d5f81ab
[AArch64][SVE2] Asm: add int halving add/sub (predicated) instructions

Summary:
This patch adds support for the predicated integer halving add/sub
instructions:

    * SHADD, UHADD, SRHADD, URHADD
    * SHSUB, UHSUB, SHSUBR, UHSUBR

The specification can be found here:
https://developer.arm.com/docs/ddi0602/latest

Reviewed By: rovka

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361136 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
lib/Target/AArch64/AArch64SVEInstrInfo.td
lib/Target/AArch64/SVEInstrFormats.td
test/MC/AArch64/SVE2/shadd-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/shadd.s [new file with mode: 0644]
test/MC/AArch64/SVE2/shsub-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/shsub.s [new file with mode: 0644]
test/MC/AArch64/SVE2/shsubr-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/shsubr.s [new file with mode: 0644]
test/MC/AArch64/SVE2/srhadd-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/srhadd.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhadd-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhadd.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhsub-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhsub.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhsubr-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/uhsubr.s [new file with mode: 0644]
test/MC/AArch64/SVE2/urhadd-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/urhadd.s [new file with mode: 0644]