OSDN Git Service

Expose the number of Newton-Raphson iterations applied to the hardware's reciprocal...
authorSanjay Patel <spatel@rotateright.com>
Wed, 12 Nov 2014 21:39:01 +0000 (21:39 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 12 Nov 2014 21:39:01 +0000 (21:39 +0000)
commitdab91bcc3a00dc2961a6fda3c1f6c41766487a15
tree4ef92d7371d3f233c2160c73890a56350fdc343b
parentf9e1e56ea17c0171ecc2095fae6335369abc94bc
Expose the number of Newton-Raphson iterations applied to the hardware's reciprocal estimate as a parameter (x86).

This is a follow-on to r221706 and r221731 and discussed in more detail in PR21385.

This patch also loosens the testcase checking for btver2. We know that the "1.0" will be loaded, but
we can't tell exactly when, so replace the CHECK-NEXT specifiers with plain CHECKs. The CHECK-NEXT
sequence relied on a quirk of post-RA-scheduling that may change independently of anything in these tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/recip-fastmath.ll