blob: 3ef594112b451ee6d77421cb785f1e8ff6fd8b0b [file] [log] [blame]
Eric Christopher8258d0b2010-03-30 18:49:01 +00001; RUN: llc < %s -march=x86-64 -mattr=+sse41 -asm-verbose=0 | FileCheck %s
2
3define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind {
4; CHECK: test1:
5; CHECK-NEXT: pmulld
6 %C = mul <4 x i32> %A, %B
7 ret <4 x i32> %C
8}
9
10define <4 x i32> @test1a(<4 x i32> %A, <4 x i32> *%Bp) nounwind {
11; CHECK: test1a:
12; CHECK-NEXT: pmulld
13 %B = load <4 x i32>* %Bp
14 %C = mul <4 x i32> %A, %B
15 ret <4 x i32> %C
16}