blob: 5a888b2e784b74b22a223cdb1d462ec6add18296 [file] [log] [blame]
Dan Gohman4a4f1512007-07-18 20:23:34 +00001; RUN: llvm-as < %s | llc -march=x86-64 | not grep mov
2
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
Dan Gohman7ce405e2009-06-04 22:49:04 +00005 %z = fmul <4 x float> %t, %x
Dan Gohman4a4f1512007-07-18 20:23:34 +00006 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
Dan Gohman7ce405e2009-06-04 22:49:04 +000010 %z = fmul <2 x double> %t, %x
Dan Gohman4a4f1512007-07-18 20:23:34 +000011 ret <2 x double> %z
12}