view gcc/testsuite/gcc.target/i386/avx512vl-pr93069.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR target/93069 */
/* { dg-do assemble { target vect_simd_clones } } */
/* { dg-options "-O2 -fopenmp-simd -mtune=skylake-avx512" } */
/* { dg-additional-options "-mavx512vl" { target avx512vl } } */
/* { dg-additional-options "-mavx512dq" { target avx512dq } } */

#pragma omp declare simd
int
foo (int x, int y)
{
  return x == 0 ? x : y;
}