- Oct 13, 2006
-
-
Chris Lattner authored
llvm-svn: 30922
-
Chris Lattner authored
llvm-svn: 30921
-
- Oct 12, 2006
-
-
Chris Lattner authored
apply to rems as well as divs. This fixes PR945 and speeds up ReedSolomon from 14.57s to 10.90s (which is now faster than gcc). It compiles CodeGen/X86/rem.ll into: _test1: subl $4, %esp movl %esi, (%esp) movl $2155905153, %ecx movl 8(%esp), %esi movl %esi, %eax imull %ecx addl %esi, %edx movl %edx, %eax shrl $31, %eax sarl $7, %edx addl %eax, %edx imull $255, %edx, %eax subl %eax, %esi movl %esi, %eax movl (%esp), %esi addl $4, %esp ret _test2: movl 4(%esp), %eax movl %eax, %ecx sarl $31, %ecx shrl $24, %ecx addl %eax, %ecx andl $4294967040, %ecx subl %ecx, %eax ret _test3: subl $4, %esp movl %esi, (%esp) movl $2155905153, %ecx movl 8(%esp), %esi movl %esi, %eax mull %ecx shrl $7, %edx imull $255, %edx, %eax subl %eax, %esi movl %esi, %eax movl (%esp), %esi addl $4, %esp ret instead of div/idiv instructions. llvm-svn: 30920
-
Chris Lattner authored
llvm-svn: 30919
-
Evan Cheng authored
llvm-svn: 30918
-
Evan Cheng authored
llvm-svn: 30917
-
Evan Cheng authored
llvm-svn: 30916
-
Chris Lattner authored
llvm-svn: 30915
-
Evan Cheng authored
llvm-svn: 30914
-
Evan Cheng authored
llvm-svn: 30913
-
Chris Lattner authored
with ParseBytecodeFile used to leak both a ModuleProvider (and related bytecode parser stuff attached to it) AND a file descriptor, which was never closed. This prevented gccld/llvm-ld/llvm-link from linking together apps with more that ~252 .bc files on darwin. llvm-svn: 30912
-
Chris Lattner authored
llvm-svn: 30911
-
Chris Lattner authored
llvm-svn: 30910
-
Chris Lattner authored
llvm-svn: 30909
-
Chris Lattner authored
llvm-svn: 30908
-
Chris Lattner authored
llvm-svn: 30907
-
Chris Lattner authored
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061009/038518.html llvm-svn: 30906
-
Chris Lattner authored
that it can't assume ESP is unmodified across the instrs. llvm-svn: 30905
-
Jim Laskey authored
llvm-svn: 30903
-
Evan Cheng authored
It's turning: movl -24(%ebp), %esp subl $16, %esp movl -24(%ebp), %ecx into movl -24(%ebp), %esp subl $16, %esp movl %esp, (%esp) llvm-svn: 30902
-
Chris Lattner authored
llvm-svn: 30900
-
Chris Lattner authored
the stack slot. This fixes PR943. llvm-svn: 30898
-
Evan Cheng authored
chain operand to point to the load being folded. Now we relax this, traversing up the chain, if it doesn't reach the load, then it's ok. We will create a TokenFactor (of all the chain operands and the load's chain) to capture all the control flow dependencies. llvm-svn: 30897
-
Nick Lewycky authored
compile-time performance. llvm-svn: 30896
-
Evan Cheng authored
llvm-svn: 30895
-
Chris Lattner authored
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 llvm-svn: 30894
-
Chris Lattner authored
llvm-svn: 30893
-
- Oct 11, 2006
-
-
Evan Cheng authored
llvm-svn: 30892
-
Evan Cheng authored
llvm-svn: 30891
-
Evan Cheng authored
llvm-svn: 30890
-
Jim Laskey authored
llvm-svn: 30889
-
Chris Lattner authored
llvm-svn: 30888
-
Chris Lattner authored
of Regression/TableGen/MultiClass.td. llvm-svn: 30887
-
Chris Lattner authored
llvm-svn: 30886
-
Bill Wendling authored
llvm-svn: 30885
-
Jim Laskey authored
llvm-svn: 30884
-
Jim Laskey authored
llvm-svn: 30883
-
Jim Laskey authored
llvm-svn: 30882
-
Andrew Lenharth authored
llvm-svn: 30881
-
Jim Laskey authored
llvm-svn: 30880
-