llvm-6502/lib/Target
Chris Lattner a28381cac2 Remove all knowledge of UINT_TO_FP from the X86 backend, relying on the
legalizer to eliminate them.  With this comes the expected code quality
improvements, such as, for this:

double foo(unsigned short X) { return X; }

we now generate this:

_foo:
        subl $4, %esp
        movzwl 8(%esp), %eax
        movl %eax, (%esp)
        fildl (%esp)
        addl $4, %esp
        ret

instead of this:

_foo:
        subl $4, %esp
        movw 8(%esp), %ax
        movzwl %ax, %eax   ;; Load not folded into this.
        movl %eax, (%esp)
        fildl (%esp)
        addl $4, %esp
        ret

-Chris


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22449 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-16 00:28:20 +00:00
..
Alpha Fix povray and minor cleanups 2005-07-12 04:20:52 +00:00
CBackend Fixed PR#596: 2005-07-14 19:41:16 +00:00
IA64 Change *EXTLOAD to use an VTSDNode operand instead of being an MVTSDNode. 2005-07-10 01:56:13 +00:00
PowerPC Remove some code that moved to the generic asm printer a long time ago. 2005-07-12 18:34:15 +00:00
Skeleton Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFile 2005-06-25 02:48:37 +00:00
Sparc Change *EXTLOAD to use an VTSDNode operand instead of being an MVTSDNode. 2005-07-10 01:56:13 +00:00
SparcV8 Change *EXTLOAD to use an VTSDNode operand instead of being an MVTSDNode. 2005-07-10 01:56:13 +00:00
SparcV9 fix a warning 2005-07-11 22:46:18 +00:00
X86 Remove all knowledge of UINT_TO_FP from the X86 backend, relying on the 2005-07-16 00:28:20 +00:00
Makefile Implement the --enable-targets= feature of the configure script. The make 2005-04-22 17:20:11 +00:00
MRegisterInfo.cpp Convert tabs to spaces 2005-04-22 17:54:37 +00:00
Target.td Add some bits that can be set for instructions. 2005-01-02 02:27:48 +00:00
TargetData.cpp Remove trailing whitespace 2005-04-21 22:55:34 +00:00
TargetFrameInfo.cpp Shut GCC 4.0 up about classes that have virtual functions but a non-virtual 2005-04-25 02:55:55 +00:00
TargetInstrInfo.cpp Convert tabs to spaces 2005-04-22 17:54:37 +00:00
TargetMachine.cpp First round of support for doing scalar FP using the SSE2 ISA extension and 2005-07-06 18:59:04 +00:00
TargetMachineRegistry.cpp Remove trailing whitespace 2005-04-21 22:55:34 +00:00
TargetSchedInfo.cpp Convert tabs to spaces 2005-04-22 17:54:37 +00:00
TargetSubtarget.cpp I don't know how this ever compiled with gcc, but VC++ correctly rejects it. 2005-07-12 02:59:38 +00:00