blob: f7e5fe3d684be56b288ab22b57204b713b8c125a [file] [log] [blame]
Dan Gohman28beeea2007-08-15 13:36:28 +00001; RUN: llvm-as < %s | llc -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}