1  /* PR target/78102 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -mno-sse4.2 -msse4.1" } */
       4  /* { dg-final { scan-assembler-times "pcmpeq" 4 } } */
       5  
       6  #include <x86intrin.h>
       7  
       8  __m128i
       9  foo (const __m128i x, const __m128i y)
      10  {
      11    return _mm_cmpeq_epi64 (x, y);
      12  }
      13  
      14  __v2di
      15  bar (const __v2di x, const __v2di y)
      16  {
      17    return x == y;
      18  }
      19  
      20  __v2di
      21  baz (const __v2di x, const __v2di y)
      22  {
      23    return x != y;
      24  }