1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mdejagnu-cpu=power8 -DNO_WARN_X86_INTRINSICS" } */
       3  /* { dg-require-effective-target powerpc_p8vector_ok } */
       4  
       5  #include <x86intrin.h>
       6  
       7  __m128i
       8  foo (const __m128i x, const __m128i y)
       9  {
      10    return _mm_cmpeq_epi64 (x, y);
      11  }
      12  
      13  __v2di
      14  bar (const __v2di x, const __v2di y)
      15  {
      16    return x == y;
      17  }
      18  
      19  __v2di
      20  baz (const __v2di x, const __v2di y)
      21  {
      22    return x != y;
      23  }