OSDN Git Service

[AArch64] Fix the number of iterations for the Newton series
authorEvandro Menezes <e.menezes@samsung.com>
Fri, 3 Nov 2017 18:56:36 +0000 (18:56 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Fri, 3 Nov 2017 18:56:36 +0000 (18:56 +0000)
commit8f805056c27cc02d22eb0717d4af9d00e25b9c31
tree507f471f478c48916ca3101c2876b122e9ca57c4
parentaba0da108e9400f8cd31655e241d7d6af5f43abe
[AArch64] Fix the number of iterations for the Newton series

The number of iterations was incorrectly determined for DP FP vector types
and the tests were insufficient to flag this issue.

Differential revision: https://reviews.llvm.org/D39507

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/recp-fastmath.ll
test/CodeGen/AArch64/sqrt-fastmath.ll