Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
      2 
      3 define <8 x i32> @sext_8i16_to_8i32(<8 x i16> %A) nounwind uwtable readnone ssp {
      4 ;CHECK: sext_8i16_to_8i32
      5 ;CHECK: vpmovsxwd
      6 
      7   %B = sext <8 x i16> %A to <8 x i32>
      8   ret <8 x i32>%B
      9 }
     10 
     11 define <4 x i64> @sext_4i32_to_4i64(<4 x i32> %A) nounwind uwtable readnone ssp {
     12 ;CHECK: sext_4i32_to_4i64
     13 ;CHECK: vpmovsxdq
     14 
     15   %B = sext <4 x i32> %A to <4 x i64>
     16   ret <4 x i64>%B
     17 }
     18