1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- -mattr=f16c| FileCheck %s --check-prefixes=CHECK
4 define <16 x half> @foo(<16 x half> %a, <16 x half> %b) nounwind {
7 ; CHECK-NEXT: vcvtph2ps %xmm1, %ymm2
8 ; CHECK-NEXT: vcvtph2ps %xmm0, %ymm3
9 ; CHECK-NEXT: vaddps %ymm2, %ymm3, %ymm2
10 ; CHECK-NEXT: vcvtps2ph $4, %ymm2, %xmm2
11 ; CHECK-NEXT: vextractf128 $1, %ymm1, %xmm1
12 ; CHECK-NEXT: vcvtph2ps %xmm1, %ymm1
13 ; CHECK-NEXT: vextractf128 $1, %ymm0, %xmm0
14 ; CHECK-NEXT: vcvtph2ps %xmm0, %ymm0
15 ; CHECK-NEXT: vaddps %ymm1, %ymm0, %ymm0
16 ; CHECK-NEXT: vcvtps2ph $4, %ymm0, %xmm0
17 ; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
19 %1 = fadd <16 x half> %a, %b