blob: 10fecadaa0238d660b99f2fa243c6fadf99370e9 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=sse2 | grep pcmpeqd | count 4
Dan Gohmanfacac312008-03-11 21:37:00 +00002
Dan Gohman80eb35b2008-10-01 15:07:14 +00003define <4 x i32> @ioo() nounwind {
Dan Gohmanfacac312008-03-11 21:37:00 +00004 ret <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>
5}
Dan Gohman80eb35b2008-10-01 15:07:14 +00006define <2 x i64> @loo() nounwind {
Dan Gohmanfacac312008-03-11 21:37:00 +00007 ret <2 x i64> <i64 -1, i64 -1>
8}
Dan Gohman80eb35b2008-10-01 15:07:14 +00009define <2 x double> @doo() nounwind {
Dan Gohmanfacac312008-03-11 21:37:00 +000010 ret <2 x double> <double 0xffffffffffffffff, double 0xffffffffffffffff>
11}
Dan Gohman80eb35b2008-10-01 15:07:14 +000012define <4 x float> @foo() nounwind {
Dan Gohmanfacac312008-03-11 21:37:00 +000013 ret <4 x float> <float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000>
14}