summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx-vzeroupper-26.c
blob: 96e9190fa810219a7a488bdb6ab7260c9ecebaac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-Os -mavx -mtune=generic -dp" } */

#include <immintrin.h>

extern __m256 x, y;
extern void (*bar) (void);

void
foo ()
{
  x = y;
  bar ();
}

/* { dg-final { scan-assembler-not "avx_vzeroupper" } } */