* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / vect / simd-clone-5.cc
blob07ec8a8079efc327f9d0e9702133416857241009
1 // { dg-require-effective-target vect_simd_clones }
2 // { dg-additional-options "-fopenmp-simd -fno-inline" }
3 // { dg-additional-options "-mavx" { target avx_runtime } }
4 // { dg-additional-sources "simd-clone-4.cc" }
6 #include "simd-clone-4.h"
8 #pragma omp declare simd notinbranch
9 template <int N>
10 int
11 S<N>::f0 (int x)
13 return x + s;
16 #pragma omp declare simd notinbranch uniform(this)
17 template <int N>
18 int
19 S<N>::f1 (int x)
21 return x + s;
24 #pragma omp declare simd notinbranch linear(this:sizeof(this)/sizeof(this))
25 template <int N>
26 int
27 S<N>::f2 (int x)
29 return x + this->S::s;
32 #pragma omp declare simd uniform(this) aligned(this:32) linear(x)
33 template <int N>
34 int
35 T<N>::f3 (int x)
37 return t[x];
40 template struct S<0>;
41 template struct T<0>;