; RUN: llvm-as < %s | llc -march=x86 | grep pcmpeqd | count 4

define <4 x i32> @ioo() {
        ret <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>
}
define <2 x i64> @loo() {
        ret <2 x i64> <i64 -1, i64 -1>
}
define <2 x double> @doo() {
        ret <2 x double> <double 0xffffffffffffffff, double 0xffffffffffffffff>
}
define <4 x float> @foo() {
        ret <4 x float> <float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000>
}

; RUN: llvm-as < %s | llc -march=x86 -mattr=sse2 | grep pcmpeqd | count 4

define <4 x i32> @ioo() {
        ret <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>
}
define <2 x i64> @loo() {
        ret <2 x i64> <i64 -1, i64 -1>
}
define <2 x double> @doo() {
        ret <2 x double> <double 0xffffffffffffffff, double 0xffffffffffffffff>
}
define <4 x float> @foo() {
        ret <4 x float> <float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000, float 0xffffffffe0000000>
}

Fix this test on hosts that don't have sse2.
Fix this test on hosts that don't have sse2.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@48296 91177308-0d34-0410-b5e6-96231b3b80d8
