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
4define <2 x i32> @vcast(<2 x float> %a, <2 x float> %b) {
5; CHECK-LABEL: vcast:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    movdqa (%rcx), %xmm0
8; CHECK-NEXT:    psubd (%rdx), %xmm0
9; CHECK-NEXT:    retq
10  %af = bitcast <2 x float> %a to <2 x i32>
11  %bf = bitcast <2 x float> %b to <2 x i32>
12  %x = sub <2 x i32> %af, %bf
13  ret <2 x i32> %x
14}
15
16