1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s 3 4define <2 x i64> @bar(<2 x i64>* %p, <2 x i64> %x) nounwind { 5; CHECK-LABEL: bar: 6; CHECK: # %bb.0: 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 18; CHECK-NEXT: retq 19 %t = load <2 x i64>, <2 x i64>* %p, align 8 20 %z = mul <2 x i64> %t, %x 21 ret <2 x i64> %z 22} 23