PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / recip-vec-divf-avx.c
blob8aeec20d5c55456271f5553f23ebd78fad47c793
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx -mtune=generic -mfpmath=sse -mrecip" } */
4 float a[32];
5 float b[32];
6 float r[32];
8 void t1(void)
10 int i;
12 for (i = 0; i < 32; i++)
13 r[i] = a[i] / b[i];
16 /* { dg-final { scan-assembler "vrcpps\[ \\t\]+\[^\n\]*%ymm" } } */