OSDN Git Service

[AArch64] Use the reciprocal estimation machinery
authorEvandro Menezes <e.menezes@samsung.com>
Wed, 4 May 2016 20:18:27 +0000 (20:18 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Wed, 4 May 2016 20:18:27 +0000 (20:18 +0000)
commit7fa1a5ff6d772ab3db61d69677d3f4ed23cd83a5
treee6e845e472716d136bb3d09292a584d883b1a6a9
parent0e4fcac9c647620f8d01710344aa983425517758
[AArch64] Use the reciprocal estimation machinery

This patch adds support for estimating the square root, its reciprocal and
division or reciprocal using the combiner generic reciprocal machinery.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
lib/Target/AArch64/AArch64InstrInfo.td
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/AArch64/AArch64TargetMachine.h
test/CodeGen/AArch64/recp-fastmath.ll [new file with mode: 0644]
test/CodeGen/AArch64/sqrt-fastmath.ll [new file with mode: 0644]