1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx -mtune=generic -mfpmath=sse -mrecip" } */
3
4 float a[32];
5 float b[32];
6 float r[32];
7
8 void t1(void)
9 {
10 int i;
11
12 for (i = 0; i < 32; i++)
13 r[i] = a[i] / b[i];
14 }
15
16 /* { dg-final { scan-assembler "vrcpps\[ \\t\]+\[^\n\]*%ymm" } } */