Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr84309.c

raw
1 /* PR middle-end/84309 */
2 /* { dg-do compile } */
3 /* { dg-options "-Ofast -mavx -mno-avx2" } */
4
5 double pow (double, double) __attribute__((simd));
6 double exp (double) __attribute__((simd));
7 extern double a[1024], b[1024];
8
9 void
10 foo (void)
11 {
12 for (int i = 0; i < 1024; ++i)
13 a[i] = pow (2.0, b[i]);
14 }
15
16 /* { dg-final { scan-assembler "_ZGVcN4v_exp" } } */