llvm-6502/lib
Chris Lattner 4fe4f254ce Fold "zero extending vector loads" now that evan added the chain manip stuff.
This compiles both tests in X86/vec_ss_load_fold.ll into:

_test1:
        movss 4(%esp), %xmm0
        subss LCPI1_0, %xmm0
        mulss LCPI1_1, %xmm0
        minss LCPI1_2, %xmm0
        xorps %xmm1, %xmm1
        maxss %xmm1, %xmm0
        cvttss2si %xmm0, %eax
        andl $65535, %eax
        ret

instead of:

_test1:
        movss LCPI1_0, %xmm0
        movss 4(%esp), %xmm1
        subss %xmm0, %xmm1
        movss LCPI1_1, %xmm0
        mulss %xmm0, %xmm1
        movss LCPI1_2, %xmm0
        minss %xmm0, %xmm1
        xorps %xmm0, %xmm0
        maxss %xmm0, %xmm1
        cvttss2si %xmm1, %eax
        andl $65535, %eax
        ret


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30894 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 22:09:58 +00:00
..
Analysis Fix a bug pointed out by Zhongxing Xu 2006-10-09 17:28:13 +00:00
Archive For PR797: 2006-08-25 19:54:53 +00:00
AsmParser Fix PR886: 2006-10-09 17:36:59 +00:00
Bytecode Small fixes for supporting dll* linkage types 2006-09-17 13:06:18 +00:00
CodeGen Alias analysis of TRUNCSTORE. 2006-10-11 18:55:16 +00:00
Debugger For PR797: 2006-08-25 17:43:11 +00:00
ExecutionEngine Unbreak the JIT 2006-09-15 04:56:11 +00:00
Linker Adding dllimport, dllexport and external weak linkage types. 2006-09-14 18:23:27 +00:00
Support Fix a static dtor issue 2006-10-04 22:13:11 +00:00
System Use new config.h macro 2006-09-14 06:21:59 +00:00
Target Fold "zero extending vector loads" now that evan added the chain manip stuff. 2006-10-11 22:09:58 +00:00
Transforms Implement SROA of unions with mixed pointers/integers in them. This implements 2006-10-08 23:53:04 +00:00
VMCore Add insertelement/extractelement helper ctors. 2006-10-05 06:24:58 +00:00
Makefile Make some changes suggested by Chris: 2006-05-17 22:55:35 +00:00