blob: b5b261d20ab4a08db2fdbd415a4f1013f9f6e4b7 [file] [log] [blame]
Dan Gohman8c89a502007-08-15 13:36:28 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep movup | count 2
Dan Gohman4a4f1512007-07-18 20:23:34 +00002
Evan Cheng18950d92008-05-07 22:59:08 +00003define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
Dan Gohman4a4f1512007-07-18 20:23:34 +00004 %t = load <4 x float>* %p, align 4
5 %z = mul <4 x float> %t, %x
6 ret <4 x float> %z
7}
Evan Cheng18950d92008-05-07 22:59:08 +00008define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind {
Dan Gohman4a4f1512007-07-18 20:23:34 +00009 %t = load <2 x double>* %p, align 8
10 %z = mul <2 x double> %t, %x
11 ret <2 x double> %z
12}