blob: 434e677e1714cb6134b6ab348521276e4881cdd4 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -mvsx" } */
/* { dg-require-effective-target vsx_hw } */
#include <x86intrin.h>
__m128i
foo (const __m128i x, const __m128i y)
{
return _mm_cmpeq_epi64 (x, y);
}
__v2di
bar (const __v2di x, const __v2di y)
{
return x == y;
}
__v2di
baz (const __v2di x, const __v2di y)
{
return x != y;
}