[PATCH] D62000: [AArch64][SVE2] Asm: add int halving add/sub (predicated) instructions

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 03:51:01 PDT 2019


c-rhodes created this revision.
c-rhodes added reviewers: sdesmalen, SjoerdMeijer, ostannard, rovka.
Herald added subscribers: kristof.beyls, tschuett, javed.absar.
Herald added a project: LLVM.

This patch adds support for the predicated integer halving add/sub
instructions:

- SHADD, UHADD, SRHADD, URHADD
- SHSUB, UHSUB, SHSUBR, UHSUBR

The specification can be found here:
https://developer.arm.com/docs/ddi0602/latest


Repository:
  rL LLVM

https://reviews.llvm.org/D62000

Files:
  lib/Target/AArch64/AArch64SVEInstrInfo.td
  lib/Target/AArch64/SVEInstrFormats.td
  test/MC/AArch64/SVE2/shadd-diagnostics.s
  test/MC/AArch64/SVE2/shadd.s
  test/MC/AArch64/SVE2/shsub-diagnostics.s
  test/MC/AArch64/SVE2/shsub.s
  test/MC/AArch64/SVE2/shsubr-diagnostics.s
  test/MC/AArch64/SVE2/shsubr.s
  test/MC/AArch64/SVE2/srhadd-diagnostics.s
  test/MC/AArch64/SVE2/srhadd.s
  test/MC/AArch64/SVE2/uhadd-diagnostics.s
  test/MC/AArch64/SVE2/uhadd.s
  test/MC/AArch64/SVE2/uhsub-diagnostics.s
  test/MC/AArch64/SVE2/uhsub.s
  test/MC/AArch64/SVE2/uhsubr-diagnostics.s
  test/MC/AArch64/SVE2/uhsubr.s
  test/MC/AArch64/SVE2/urhadd-diagnostics.s
  test/MC/AArch64/SVE2/urhadd.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62000.199780.patch
Type: text/x-patch
Size: 33996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190516/9b67e68b/attachment.bin>


More information about the llvm-commits mailing list