PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr50155.c
blobc641d4c47af9a3e764141c4c81fedd9152c8df17
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mavx -mno-avx2" } */
4 void
5 foo (int x, double *a, double *b, double c)
7 int i;
9 for (i = 0; i < x; i++)
10 *a++ = *b++ * i / c;
13 /* { dg-final { scan-assembler-not "vpaddd\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */