1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mavx -mvzeroupper -dp" } */
3 /* { dg-additional-options "-mabi=sysv" { target x86_64-*-mingw* } } */
4 
5 #include <immintrin.h>
6 
7 extern void bar2 (__m256);
8 extern __m256 y;
9 
10 void
foo()11 foo ()
12 {
13   bar2 (y);
14   _mm256_zeroupper ();
15 }
16 
17 /* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */
18