[AArch64][SVE] Asm: Support for UZP and TRN instructions.
authorSander de Smalen <sander.desmalen@arm.com>
Mon, 9 Jul 2018 09:12:17 +0000 (09:12 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Mon, 9 Jul 2018 09:12:17 +0000 (09:12 +0000)
commitbd513b42a12c282901e837b75a6116f1d99a2d5c
tree23eb20eec59fd26383039a60721980ce036a730b
parent3703551135449fd051b1cf664c6d6043d9ef77dd
[AArch64][SVE] Asm: Support for UZP and TRN instructions.

This patch adds support for:
  UZP1  Concatenate even elements from two vectors
  UZP2  Concatenate  odd elements from two vectors
  TRN1  Interleave  even elements from two vectors
  TRN2  Interleave   odd elements from two vectors

With variants for both data and predicate vectors, e.g.
  uzp1    z0.b, z1.b, z2.b
  trn2    p0.s, p1.s, p2.s

llvm-svn: 336531
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/test/MC/AArch64/SVE/trn1-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/trn1.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/trn2-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/trn2.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uzp1-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uzp1.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uzp2-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/uzp2.s [new file with mode: 0644]