- Dec 13, 2006
-
-
Reid Spencer authored
llvm-svn: 32534
-
Chris Lattner authored
obscure bugs affecting the X86 code generator. I will reenable this when fixed. llvm-svn: 32524
-
Reid Spencer authored
creation calls. llvm-svn: 32521
-
Reid Spencer authored
Rename getZeroExtend and getSignExtend to getZExt and getSExt to match the the casting mnemonics in the rest of LLVM. llvm-svn: 32514
-
- Dec 12, 2006
-
-
Chris Lattner authored
llvm-svn: 32487
-
Chris Lattner authored
llvm-svn: 32486
-
Reid Spencer authored
llvm-svn: 32479
-
Reid Spencer authored
llvm-svn: 32477
-
Reid Spencer authored
llvm-svn: 32469
-
Chris Lattner authored
llvm-svn: 32468
-
- Dec 11, 2006
-
-
Chris Lattner authored
llvm-svn: 32426
-
Chris Lattner authored
This implements Transforms/ScalarRepl/union-packed.ll llvm-svn: 32422
-
Chris Lattner authored
* Add support for promoting unions with fp values in them. This produces our new int<->fp bitcast instructions, implementing Transforms/ScalarRepl/union-fp-int.ll As an example, this allows us to compile this: union intfloat { int i; float f; }; float invsqrt(const float arg_x) { union intfloat x = { .f = arg_x }; const float xhalf = arg_x * 0.5f; x.i = 0x5f3759df - (x.i >> 1); return x.f * (1.5f - xhalf * x.f * x.f); } into: _invsqrt: movss 4(%esp), %xmm0 movd %xmm0, %eax sarl %eax movl $1597463007, %ecx subl %eax, %ecx movd %ecx, %xmm1 mulss LCPI1_0, %xmm0 mulss %xmm1, %xmm0 movss LCPI1_1, %xmm2 mulss %xmm1, %xmm0 subss %xmm0, %xmm2 movl 8(%esp), %eax mulss %xmm2, %xmm1 movss %xmm1, (%eax) ret instead of: _invsqrt: subl $4, %esp movss 8(%esp), %xmm0 movss %xmm0, (%esp) movl (%esp), %eax movl $1597463007, %ecx sarl %eax subl %eax, %ecx movl %ecx, (%esp) mulss LCPI1_0, %xmm0 movss (%esp), %xmm1 mulss %xmm1, %xmm0 mulss %xmm1, %xmm0 movss LCPI1_1, %xmm2 subss %xmm0, %xmm2 mulss %xmm2, %xmm1 movl 12(%esp), %eax movss %xmm1, (%eax) addl $4, %esp ret llvm-svn: 32418
-
- Dec 08, 2006
-
-
Reid Spencer authored
MarkAliveBlocks. llvm-svn: 32375
-
- Dec 07, 2006
-
-
Bill Wendling authored
llvm-svn: 32333
-
Bill Wendling authored
llvm-svn: 32320
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Dec 06, 2006
-
-
Reid Spencer authored
llvm-svn: 32288
-
Chris Lattner authored
llvm-svn: 32280
-
Chris Lattner authored
is 'unsigned'. llvm-svn: 32279
-
Chris Lattner authored
passing false would make the asmprinter fail anyway. llvm-svn: 32264
-
Chris Lattner authored
llvm-svn: 32252
-
- Dec 05, 2006
-
-
Chris Lattner authored
7.48s. This regression is due to unforseen consequences of the cast patch. llvm-svn: 32209
-
Devang Patel authored
for now. llvm-svn: 32208
-
- Dec 04, 2006
-
-
Reid Spencer authored
llvm-svn: 32166
-
- Dec 02, 2006
-
-
Jeff Cohen authored
llvm-svn: 32113
-
Chris Lattner authored
Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll llvm-svn: 32112
-
- Dec 01, 2006
-
-
Reid Spencer authored
llvm-svn: 32051
-
- Nov 30, 2006
-
-
Chris Lattner authored
llvm-svn: 32044
-
Chris Lattner authored
llvm-svn: 32043
-
Chris Lattner authored
llvm-svn: 32042
-
- Nov 29, 2006
-
-
Chris Lattner authored
unsigned short swp(unsigned short a) { return ((a & 0xff00) >> 8 | (a & 0x00ff) << 8); } as an idiom for bswap. llvm-svn: 32011
-
Chris Lattner authored
This implements InstCombine/cast.ll:test34. It fires hundreds of times on 176.gcc. llvm-svn: 32009
-
Chris Lattner authored
folding seteq (bswap(x)), c -> seteq(x,bswap(c)) llvm-svn: 32006
-
Reid Spencer authored
llvm-svn: 31996
-
- Nov 28, 2006
-
-
Reid Spencer authored
llvm-svn: 31977
-
Reid Spencer authored
producing code for "trunc to bool". This passes all tests on Linux. llvm-svn: 31963
-
- Nov 27, 2006
-
-
Chris Lattner authored
llvm-svn: 31941
-
Reid Spencer authored
The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
-
- Nov 26, 2006
-
-
Bill Wendling authored
llvm-svn: 31925
-