llvm-6502/lib
Evan Cheng cc41586b9d Much improved pic jumptable codegen:
Then:
        call    "L1$pb"
"L1$pb":
        popl    %eax
		...
LBB1_1: # entry
        imull   $4, %ecx, %ecx
        leal    LJTI1_0-"L1$pb"(%eax), %edx
        addl    LJTI1_0-"L1$pb"(%ecx,%eax), %edx
        jmpl    *%edx

        .align  2
        .set L1_0_set_3,LBB1_3-LJTI1_0
        .set L1_0_set_2,LBB1_2-LJTI1_0
        .set L1_0_set_5,LBB1_5-LJTI1_0
        .set L1_0_set_4,LBB1_4-LJTI1_0
LJTI1_0:
        .long    L1_0_set_3
        .long    L1_0_set_2

Now:
        call    "L1$pb"
"L1$pb":
        popl    %eax
		...
LBB1_1: # entry
        addl    LJTI1_0-"L1$pb"(%eax,%ecx,4), %eax
        jmpl    *%eax

		.align  2
		.set L1_0_set_3,LBB1_3-"L1$pb"
		.set L1_0_set_2,LBB1_2-"L1$pb"
		.set L1_0_set_5,LBB1_5-"L1$pb"
		.set L1_0_set_4,LBB1_4-"L1$pb"
LJTI1_0:
        .long    L1_0_set_3
        .long    L1_0_set_2


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43924 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-09 01:32:10 +00:00
..
Analysis Fix PR1774 and BasicAA/2007-11-05-SizeCrash.ll 2007-11-06 05:58:42 +00:00
Archive
AsmParser Add support for vector remainder operations. 2007-11-05 23:35:22 +00:00
Bitcode Updated Deserializer class to provide more information about the current 2007-11-09 00:43:51 +00:00
CodeGen Much improved pic jumptable codegen: 2007-11-09 01:32:10 +00:00
Debugger
ExecutionEngine Executive summary: getTypeSize -> getTypeStoreSize / getABITypeSize. 2007-11-01 20:53:16 +00:00
Linker
Support make smallptrset more const and type correct, which caught a few 2007-11-06 22:12:43 +00:00
System
Target Much improved pic jumptable codegen: 2007-11-09 01:32:10 +00:00
Transforms Better check 2007-11-08 18:45:15 +00:00
VMCore
Makefile