llvm-6502/lib
Chris Lattner e80e637793 Improve codegen of long == and != comparisons against constants. Before,
comparing a long against zero got us this:

        sub %ESP, 8
        mov DWORD PTR [%ESP + 4], %ESI
        mov DWORD PTR [%ESP], %EDI
        mov %EAX, DWORD PTR [%ESP + 12]
        mov %EDX, DWORD PTR [%ESP + 16]
        mov %ECX, 0
        mov %ESI, 0
        mov %EDI, %EAX
        xor %EDI, %ECX
        mov %ECX, %EDX
        xor %ECX, %ESI
        or %EDI, %ECX
        sete %CL
        test %CL, %CL
        je .LBB2 # PC rel: F

Now it gets us this:

        mov %EAX, DWORD PTR [%ESP + 4]
        mov %EDX, DWORD PTR [%ESP + 8]
        mov %ECX, %EAX
        or %ECX, %EDX
        sete %CL
        test %CL, %CL
        je .LBB2 # PC rel: F


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12696 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-06 16:02:27 +00:00
..
Analysis Sparc don't got not "sqrtl", bum bum bum 2004-04-05 19:05:15 +00:00
Archive Use the true, decoded name of the archive member in getObjectType. 2004-03-31 19:51:00 +00:00
AsmParser Support getelementptr instructions which use uint's to index into structure 2004-04-05 01:30:04 +00:00
Bytecode Implement support for a new LLVM 1.3 bytecode format, which uses uint's 2004-04-05 01:27:26 +00:00
CodeGen MBB::remove should not modify the iterator passed in 2004-03-31 21:59:59 +00:00
Debugger "fix" a nasty race condition 2004-01-14 21:18:03 +00:00
ExecutionEngine Adjust to new interface 2004-04-04 19:47:06 +00:00
Linker Fix linking of constant expr casts due to type resolution changes. With 2004-03-31 02:58:28 +00:00
Support lli no longer takes the -quiet option! 2004-04-05 20:28:41 +00:00
Target Improve codegen of long == and != comparisons against constants. Before, 2004-04-06 16:02:27 +00:00
Transforms Fix a bug in yesterdays checkins which broke siod. siod is a great testcase! :) 2004-04-05 16:02:41 +00:00
VMCore Do not mangle intrinsics in any way! 2004-04-05 20:17:53 +00:00
Makefile CBackend is no longer here 2004-02-13 23:29:37 +00:00