Home | History | Annotate | Download | only in X86
      1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
      2 ; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-pc-win32 | FileCheck %s
      3 
      4 define <2 x i32> @vcast(<2 x float> %a, <2 x float> %b) {
      5 ; CHECK-LABEL: vcast:
      6 ; CHECK:       # %bb.0:
      7 ; CHECK-NEXT:    subq $16, %rsp
      8 ; CHECK-NEXT:    .seh_stackalloc 16
      9 ; CHECK-NEXT:    .seh_endprologue
     10 ; CHECK-NEXT:    pmovzxdq {{.*#+}} xmm1 = mem[0],zero,mem[1],zero
     11 ; CHECK-NEXT:    pmovzxdq {{.*#+}} xmm0 = mem[0],zero,mem[1],zero
     12 ; CHECK-NEXT:    psubq %xmm1, %xmm0
     13 ; CHECK-NEXT:    addq $16, %rsp
     14 ; CHECK-NEXT:    retq
     15 ; CHECK-NEXT:    .seh_handlerdata
     16 ; CHECK-NEXT:    .text
     17 ; CHECK-NEXT:    .seh_endproc
     18   %af = bitcast <2 x float> %a to <2 x i32>
     19   %bf = bitcast <2 x float> %b to <2 x i32>
     20   %x = sub <2 x i32> %af, %bf
     21   ret <2 x i32> %x
     22 }
     23 
     24