2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr46253.c
blob93d5f1f18e62480e2c965669ce5a048c5d4bca94
1 /* { dg-do compile } */
2 /* { dg-options "-O -g -mf16c -mtune=generic -dp" } */
4 typedef int __m256i __attribute__ ((__vector_size__ (32)));
6 __m256i bar (void);
7 void foo (void)
9 int i = 0;
10 bar ();
11 __builtin_ia32_vzeroupper ();
12 while (++i);
15 /* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */