Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-06-28 Thread Chris Lattner
Awesome, thanks Evan. As an improvement, can't vector fneg be implemented with a xor of a constant vector? -Chris On Jun 28, 2007, at 5:18 PM, Evan Cheng wrote: > > > Changes in directory llvm/lib/Target/X86: > > X86ISelLowering.cpp updated: 1.416 -> 1.417 > --- > Log message: > > No vector f

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-06-17 Thread Chris Lattner
On Jun 16, 2007, at 4:57 PM, Bill Wendling wrote: > Revert patch. It regresses: > > define double @test2(i64 %A) { >%B = bitcast i64 %A to double >ret double %B > } Thanks Bill, -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu ht

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-06-16 Thread Bill Wendling
Doh! Reverting. Sorry about that. -bw On Jun 16, 2007, at 12:35 PM, Chris Lattner wrote: > On Jun 15, 2007, at 11:17 PM, Bill Wendling wrote: >> Fix a failure to bit_convert from integer GPR to MMX register. > > Bill, this causes a regression on this testcase: > > define double @test2(i64 %A) {

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-06-16 Thread Chris Lattner
On Jun 15, 2007, at 11:17 PM, Bill Wendling wrote: > Fix a failure to bit_convert from integer GPR to MMX register. Bill, this causes a regression on this testcase: define double @test2(i64 %A) { %B = bitcast i64 %A to double ret double %B } $ llvm-as < t.ll | llc -march=x86-64 before:

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-17 Thread Chris Lattner
Thanks Anton! On Apr 17, 2007, at 12:34 PM, Anton Korobeynikov wrote: > > > Changes in directory llvm/lib/Target/X86: > > X86ISelLowering.cpp updated: 1.392 -> 1.393 > --- > Log message: > > Add comment > > > --- > Diffs of the changes: (+9 -0) > > X86ISelLowering.cpp |9 + > 1 file

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td X86RegisterInfo.cpp

2007-04-17 Thread Chris Lattner
> > Implemented correct stack probing on mingw/cygwin for dynamic > alloca's. > Also, fixed static case in presence of eax livin. This fixes PR331: > http://llvm.org/PR331 Cool :) > > +SDOperand X86TargetLowering::LowerDYNAMIC_STACKALLOC(SDOperand Op, > +

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86InstrMMX.td

2007-03-27 Thread Bill
On 3/27/07, Chris Lattner <[EMAIL PROTECTED]> wrote: > > On Mar 27, 2007, at 5:57 PM, Bill Wendling wrote: > > > -// This file was developed by the Evan Cheng and is distributed > > under the > > +// This file was developed by Evan Cheng and is distributed under the > > Why are you dissing on the e

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86InstrMMX.td

2007-03-27 Thread Chris Lattner
On Mar 27, 2007, at 5:57 PM, Bill Wendling wrote: > -// This file was developed by the Evan Cheng and is distributed > under the > +// This file was developed by Evan Cheng and is distributed under the Why are you dissing on the evan? -Chris ___ llv

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86InstrMMX.td

2007-03-27 Thread Chris Lattner
On Mar 27, 2007, at 1:22 PM, Bill Wendling wrote: > +// Some special case pandn patterns. > +def : Pat<(v1i64 (and (xor VR64:$src1, (bc_v1i64 (v2i32 > immAllOnesV))), > + VR64:$src2)), > + (MMX_PANDNrr VR64:$src1, VR64:$src2)>; > +def : Pat<(v1i64 (and (xor VR64:$src1, (

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-01-28 Thread Anton Korobeynikov
Hello, Nick. > Fix compile error "jump to case label crosses initialization". > What compiler are people using that accepts this code? Sorry for the breakage. It was just gcc 3.4.6 :( I know about this "feature" and double checked the code. However, I was wrong -- With best regards, Anton Ko