This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by sdesmalen on May 25 2018, 2:33 AM.

Details

Summary

[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)

Diff Detail

Repository
rL LLVM

Event Timeline

sdesmalen created this revision.May 25 2018, 2:33 AM
fhahn accepted this revision.May 25 2018, 3:14 AM

LGTM, thanks

This revision is now accepted and ready to land.May 25 2018, 3:14 AM
This revision was automatically updated to reflect the committed changes.