[PATCH] D63985: [ARM] MVE VRINT support

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 03:01:45 PDT 2019


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

This adds support for the floor/ceil/trunc/... series of instructions, converting to various forms of VRINT. They use the same suffixes as the floating point counterparts do. There is not VTINTR, so nearbyint is expanded.

Also added a copysign test, to show it is expanded.


https://reviews.llvm.org/D63985

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63985.207251.patch
Type: text/x-patch
Size: 15455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/f14003f7/attachment.bin>


More information about the llvm-commits mailing list