OSDN Git Service

[ARM] MVE VRINT support
authorDavid Green <david.green@arm.com>
Sat, 13 Jul 2019 14:38:53 +0000 (14:38 +0000)
committerDavid Green <david.green@arm.com>
Sat, 13 Jul 2019 14:38:53 +0000 (14:38 +0000)
commit00f32b09ba8d90c53c543c3cc3dc078c873cf691
tree14af36137b9355c6aa223a28365a494d212339ab
parenta210e6965840b2ffce40adcc637e1bcef4bea02a
[ARM] MVE VRINT support

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

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

Differential Revision: https://reviews.llvm.org/D63985

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrMVE.td
test/CodeGen/Thumb2/mve-fmath.ll
test/CodeGen/Thumb2/mve-frint.ll [new file with mode: 0644]