blob: 01c0e36ea244bce4bbc9b501d594d1edd9fef473 [file] [log] [blame]
Dan Gohman7adf5cf2008-03-12 20:40:51 +00001; RUN: llvm-as < %s | llc -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}