aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr106060-2.c
blob: 23933aba978cf993346c286a7ff80895153ee7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O3 -march=x86-64-v3" } */
#include <immintrin.h>

__m256i
foo ()
{
  /* should_be_cmpeq_abs */
  return _mm256_set1_epi8 (1);
}

/* { dg-final { scan-assembler "pcmpeq" } } */
/* { dg-final { scan-assembler "pabsb" } } */