Add an SSE2 algorithm for uint64->f64 conversion.
authorDale Johannesen <dalej@apple.com>
Tue, 21 Oct 2008 20:50:01 +0000 (20:50 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 21 Oct 2008 20:50:01 +0000 (20:50 +0000)
commit1c15bf58a3700d40a6a88ac0ce14a2c99f111483
treefa3fc88ccf1580061ee52a8dc39247527ae25dd2
parent7ea1ca6229ca228a1a3a0ff453c3530bf4f7a26e
Add an SSE2 algorithm for uint64->f64 conversion.
The same one Apple gcc uses, faster.  Also gets the
extreme case in gcc.c-torture/execute/ieee/rbug.c
correct which we weren't before; this is not
sufficient to get the test to pass though, there
is another bug.

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