summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx-cmpss-2.c
blob: 0fcc620c47077def3fb064d985b91193d9039735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2 -mavx" } */

#include <xmmintrin.h>

__m128
foo (__m128 x, __m128 y)
{
  return _mm_cmpeq_ss (x, y);
}


/* { dg-final { scan-assembler "vcmpeqss" } } */