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)
commitf6f7d5d1dd0dae8c2f45aab6f2d96a3f31a256fa
treecf64baa20863e81c2a5fb4bb3a1f0406fcb2ad30
parent6d829bdbef0da4ebb626fa793652c599e9826ed8
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.

llvm-svn: 221819
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/recip-fastmath.ll