Skip to content
  1. Mar 10, 2008
    • Dale Johannesen's avatar
      Increase ISD::ParamFlags to 64 bits. Increase the ByValSize · 4e622ec8
      Dale Johannesen authored
      field to 32 bits, thus enabling correct handling of ByVal
      structs bigger than 0x1ffff.  Abstract interface a bit.
      Fixes gcc.c-torture/execute/pr23135.c and 
      gcc.c-torture/execute/pr28982b.c in gcc testsuite (were ICE'ing
      on ppc32, quietly producing wrong code on x86-32.)
      
      llvm-svn: 48122
      4e622ec8
  2. Mar 09, 2008
  3. Mar 08, 2008
    • Chris Lattner's avatar
      1) Improve comments. · ad588283
      Chris Lattner authored
      2) Don't try to insert an i64 value into the low part of a 
         vector with movq on an x86-32 target.  This allows us to 
         compile:
      
      __m128i doload64(short x) {return _mm_set_epi16(0,0,0,0,0,0,0,1);}
      
      into:
      
      _doload64:
      	movaps	LCPI1_0, %xmm0
      	ret
      
      instead of:
      
      _doload64:
      	subl	$28, %esp
      	movl	$0, 4(%esp)
      	movl	$1, (%esp)
      	movq	(%esp), %xmm0
      	addl	$28, %esp
      	ret
      
      llvm-svn: 48057
      ad588283
Loading