1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
4 define <2 x i64> @bar(ptr %p, <2 x i64> %x) nounwind {
7 ; CHECK-NEXT: movdqu (%rdi), %xmm1
8 ; CHECK-NEXT: movdqa %xmm0, %xmm2
9 ; CHECK-NEXT: psrlq $32, %xmm2
10 ; CHECK-NEXT: pmuludq %xmm1, %xmm2
11 ; CHECK-NEXT: movdqa %xmm1, %xmm3
12 ; CHECK-NEXT: psrlq $32, %xmm3
13 ; CHECK-NEXT: pmuludq %xmm0, %xmm3
14 ; CHECK-NEXT: paddq %xmm2, %xmm3
15 ; CHECK-NEXT: psllq $32, %xmm3
16 ; CHECK-NEXT: pmuludq %xmm1, %xmm0
17 ; CHECK-NEXT: paddq %xmm3, %xmm0
19 %t = load <2 x i64>, ptr %p, align 8
20 %z = mul <2 x i64> %t, %x