For i386, don't use the generic code.
authorBill Wendling <isanbard@gmail.com>
Tue, 10 Jan 2012 19:41:30 +0000 (19:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 10 Jan 2012 19:41:30 +0000 (19:41 +0000)
commitf6c0747ae326a5ee83b846d40f6c657cf43a1e21
treed5808a888d852d5d5cd3c5529429652bdcf7c181
parent95789d0ff90c24297947c778b256de0e8dc26cd6
For i386, don't use the generic code.

As the comment around 7746 says, it's better to use the x87 extended precision
here than SSE. And the generic code doesn't know how to do that. It also regains
the speed lost for the uint64_to_float.c testcase.
<rdar://problem/10669858>

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