[PATCH] D68566: [ARM] VQADD instructions

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 04:00:39 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, simon_tatham, SjoerdMeijer, samparker, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

This selects MVE VQADD from the vector llvm.sadd.sat or llvm.uadd.sat intrinsics.

The signed versions seem hard to get from C, but the unsigned are simple enough. And both are available from llvm, obviously.


https://reviews.llvm.org/D68566

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-saturating-arith.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68566.223486.patch
Type: text/x-patch
Size: 7586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191007/4d9033c9/attachment.bin>


More information about the llvm-commits mailing list