[AArch64][SVE2] Add the SVE2.1 extract-and-narrow instructions
authorDavid Sherwood <david.sherwood@arm.com>
Wed, 19 Oct 2022 14:29:51 +0000 (14:29 +0000)
committerDavid Sherwood <david.sherwood@arm.com>
Fri, 28 Oct 2022 06:59:32 +0000 (06:59 +0000)
commit08a26a4d8f72b4c0c4d7cf1ea0d5cf129210bb8c
tree61e7d5035ec5ca3b78c7d263da1a2b552a41d4ed
parentaebde280476943e58f5bcd9993fdd7e36cdbe47e
[AArch64][SVE2] Add the SVE2.1 extract-and-narrow instructions

This patch adds the assembly/disassembly for the following instructions:

sqcvtn  : Signed saturating extract narrow and interleave
sqcvtun : Signed saturating unsigned extract narrow and interleave
uqcvtn  : Unsigned saturating extract narrow and interleave

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2022-09

Differential revision: https://reviews.llvm.org/D136689
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/MC/AArch64/SVE2p1/sqcvtn-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2p1/sqcvtn.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2p1/sqcvtun-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2p1/sqcvtun.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2p1/uqcvtn-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2p1/uqcvtn.s [new file with mode: 0644]