1 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse4.1 -asm-verbose=0 | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+sse4.1 -asm-verbose=0 | FileCheck %s -check-prefix=WIN64
4 define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind {
9 ; WIN64-NEXT: movdqa (%rcx), %xmm0
10 ; WIN64-NEXT: pmulld (%rdx), %xmm0
11 %C = mul <4 x i32> %A, %B
15 define <4 x i32> @test1a(<4 x i32> %A, ptr%Bp) nounwind {
16 ; CHECK-LABEL: test1a:
19 ; WIN64-LABEL: test1a:
20 ; WIN64-NEXT: movdqa (%rcx), %xmm0
21 ; WIN64-NEXT: pmulld (%rdx), %xmm0
23 %B = load <4 x i32>, ptr %Bp
24 %C = mul <4 x i32> %A, %B