Set the rounding mode for the X86 FPU to 64-bits instead of 80-bits. We
authorChris Lattner <sabre@nondot.org>
Mon, 13 Dec 2004 17:23:11 +0000 (17:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Dec 2004 17:23:11 +0000 (17:23 +0000)
commitc0354c904bfcf8f627d9d0aecc9845cc387d88dd
tree1b9c48bb9cc501c208e564cb553e0baa7b281279
parent05f7e7991b817e46cb0bd387459dcb543e572ce2
Set the rounding mode for the X86 FPU to 64-bits instead of 80-bits.  We
don't support long double anyway, and this gives us FP results closer to
other targets.

This also speeds up 179.art from 41.4s to 18.32s, by eliminating a problem
with extra precision that causes an FP == comparison to fail (leading to
extra loop iterations).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelSimple.cpp