2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx-vzeroupper-8.c
blobbb370c5b44e883a9b44dcd983c53e4daf3da34db
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mavx -mvzeroupper -dp" } */
4 #include <immintrin.h>
6 extern __m256 x, y;
8 void
9 foo ()
11 x = y;
12 _mm256_zeroall ();
13 _mm256_zeroupper ();
16 /* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */