[PATCH] D47363: [AArch64][SVE] Asm: Support for AND, ORR, EOR and BIC instructions.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 25 02:33:52 PDT 2018


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

[AArch64][SVE] Asm: Support for AND, ORR, EOR and BIC instructions.

This patch addresses the following variants:

- bitmask immediate,         e.g. 'and z0.d, z0.d, #0x6'.
- unpredicated data vectors, e.g. 'and z0.d, z1.d, z2.d'.
- predicated data vectors,   e.g. 'and z0.d, p0/m, z0.d, z1.d'.

And also several aliases, such as:

- ORN, alias of ORR.
- EON, alias of EOR.
- BIC, alias of AND (immediate variant)
- MOV, alias of ORR (if unpredicated and source register operands are the same)


https://reviews.llvm.org/D47363

Files:
  lib/Target/AArch64/AArch64SVEInstrInfo.td
  lib/Target/AArch64/SVEInstrFormats.td
  test/MC/AArch64/SVE/and-diagnostics.s
  test/MC/AArch64/SVE/and.s
  test/MC/AArch64/SVE/bic-diagnostics.s
  test/MC/AArch64/SVE/bic.s
  test/MC/AArch64/SVE/eon-diagnostics.s
  test/MC/AArch64/SVE/eon.s
  test/MC/AArch64/SVE/eor-diagnostics.s
  test/MC/AArch64/SVE/eor.s
  test/MC/AArch64/SVE/mov-diagnostics.s
  test/MC/AArch64/SVE/mov.s
  test/MC/AArch64/SVE/orn-diagnostics.s
  test/MC/AArch64/SVE/orn.s
  test/MC/AArch64/SVE/orr-diagnostics.s
  test/MC/AArch64/SVE/orr.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47363.148567.patch
Type: text/x-patch
Size: 38854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180525/07a4b8ea/attachment.bin>


More information about the llvm-commits mailing list