Skip to content
  1. Mar 10, 2008
  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
    • Chris Lattner's avatar
      minor simplifications to this code, don't create a dead · 8a6ebd23
      Chris Lattner authored
      SCALAR_TO_VECTOR on paths that end up not using it.
      
      llvm-svn: 48056
      8a6ebd23
Loading