llvm-6502/lib/Target
Chris Lattner 745d538119 Use a custom expander to compile this:
long %test4(double %X) {
        %tmp.1 = cast double %X to long         ; <long> [#uses=1]
        ret long %tmp.1
}

to this:

_test4:
        sub %ESP, 12
        fld QWORD PTR [%ESP + 16]
        fistp QWORD PTR [%ESP]
        mov %EDX, DWORD PTR [%ESP + 4]
        mov %EAX, DWORD PTR [%ESP]
        add %ESP, 12
        ret

instead of this:

_test4:
        sub %ESP, 28
        fld QWORD PTR [%ESP + 32]
        fstp QWORD PTR [%ESP]
        call ___fixdfdi
        add %ESP, 28
        ret


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22549 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-29 00:40:01 +00:00
..
Alpha support bsr, and more .td simplification 2005-07-28 18:14:47 +00:00
CBackend Fixed PR#596: 2005-07-14 19:41:16 +00:00
IA64 Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
PowerPC Eliminate an extra copy from R1 that Nate noticed on function calls that 2005-07-28 05:23:43 +00:00
Skeleton Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFile 2005-06-25 02:48:37 +00:00
Sparc Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
SparcV8 Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
SparcV9 Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
X86 Use a custom expander to compile this: 2005-07-29 00:40:01 +00:00
Makefile
MRegisterInfo.cpp
Target.td
TargetData.cpp
TargetFrameInfo.cpp Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00
TargetInstrInfo.cpp
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
TargetSchedInfo.cpp
TargetSubtarget.cpp Eliminate all remaining tabs and trailing spaces. 2005-07-27 06:12:32 +00:00