blob: 4c59934917f313e94c42a4aaca903528f2a65a97 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86-64 | grep movup | count 2
Dan Gohman4106f372007-07-18 20:23:34 +00002
Evan Cheng687bcb22008-05-07 22:59:08 +00003define void @foo(<4 x float>* %p, <4 x float> %x) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +00004 store <4 x float> %x, <4 x float>* %p, align 4
5 ret void
6}
Evan Cheng687bcb22008-05-07 22:59:08 +00007define void @bar(<2 x double>* %p, <2 x double> %x) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +00008 store <2 x double> %x, <2 x double>* %p, align 8
9 ret void
10}