2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr84309.c
blob3f9ed772df027b152c78fbdd2a16c4f502d39fed
1 /* PR middle-end/84309 */
2 /* { dg-do compile } */
3 /* { dg-options "-Ofast -mavx -mno-avx2" } */
5 double pow (double, double) __attribute__((simd));
6 double exp (double) __attribute__((simd));
7 extern double a[1024], b[1024];
9 void
10 foo (void)
12 for (int i = 0; i < 1024; ++i)
13 a[i] = pow (2.0, b[i]);
16 /* { dg-final { scan-assembler "_ZGVcN4v_exp" } } */