[PATCH] D47570: [AArch64][SVE] Asm: Support for indexed DUP instructions.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 23:46:39 PDT 2018


sdesmalen created this revision.
sdesmalen added reviewers: rengolin, fhahn, samparker, SjoerdMeijer.
Herald added a reviewer: javed.absar.
Herald added subscribers: rkruppe, kristof.beyls, tschuett.

Unpredicated copy of indexed SVE element to SVE vector,
along with MOV-aliases.

For example:

  dup     z0.h, z1.h[0]

duplicates the first 16-bit element from z1 to all elements in
the result vector z0.


https://reviews.llvm.org/D47570

Files:
  lib/Target/AArch64/AArch64InstrFormats.td
  lib/Target/AArch64/AArch64SVEInstrInfo.td
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/SVEInstrFormats.td
  test/MC/AArch64/SVE/dup-diagnostics.s
  test/MC/AArch64/SVE/dup.s
  test/MC/AArch64/SVE/mov-diagnostics.s
  test/MC/AArch64/SVE/mov.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47570.149235.patch
Type: text/x-patch
Size: 21938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180531/6785595f/attachment.bin>


More information about the llvm-commits mailing list