Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mattr=+sse4.2 | FileCheck %s
      2 ; CHECK: psllq $48, %xmm0
      3 ; CHECK: psrad $16, %xmm0
      4 ; CHECK: pshufd {{.*#+}} xmm0 = xmm0[1,3,2,3]
      5 
      6 ; sign extension v2i16 to v2i32
      7 
      8 define void @convert(<2 x i32>* %dst.addr, <2 x i16> %src) nounwind {
      9 entry:
     10 	%signext = sext <2 x i16> %src to <2 x i32>		; <<12 x i8>> [#uses=1]
     11 	store <2 x i32> %signext, <2 x i32>* %dst.addr
     12 	ret void
     13 }
     14