llvm/lib
Chris Lattner ecfe55e65b When possible, custom lower 32-bit SINT_TO_FP to this:
_foo2:
        extsw r2, r3
        std r2, -8(r1)
        lfd f0, -8(r1)
        fcfid f0, f0
        frsp f1, f0
        blr

instead of this:

_foo2:
        lis r2, ha16(LCPI2_0)
        lis r4, 17200
        xoris r3, r3, 32768
        stw r3, -4(r1)
        stw r4, -8(r1)
        lfs f0, lo16(LCPI2_0)(r2)
        lfd f1, -8(r1)
        fsub f0, f1, f0
        frsp f1, f0
        blr

This speeds up Misc/pi from 2.44s->2.09s with LLC and from 3.01->2.18s
with llcbeta (16.7% and 38.1% respectively).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26943 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-22 05:30:33 +00:00
..
Analysis no heap is happening here 2006-03-15 19:03:16 +00:00
Archive
AsmParser Regenerate 2006-03-04 07:53:41 +00:00
Bytecode Handle the removal of the debug chain. 2006-03-13 13:07:37 +00:00
CodeGen Endianness does not affect the order of vector fields. This fixes 2006-03-22 01:46:54 +00:00
Debugger Handle the removal of the debug chain. 2006-03-13 13:07:37 +00:00
ExecutionEngine Convert llvm.cs.uiuc.edu -> llvm.org 2006-03-14 05:54:52 +00:00
Linker
Support Qualify dwarf namespace inside llvm namespace. 2006-02-27 22:37:23 +00:00
System Convert llvm.cs.uiuc.edu -> llvm.org 2006-03-14 05:54:52 +00:00
Target When possible, custom lower 32-bit SINT_TO_FP to this: 2006-03-22 05:30:33 +00:00
Transforms Teach cee to propagate through switch statements. This implements 2006-03-19 19:37:24 +00:00
VMCore Fix use of LEVEL. 2006-03-17 07:39:44 +00:00
Makefile