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

extern void exit (int) __attribute__ ((__noreturn__));

int
foo (int i)
{
  if (i == 0)
    exit (1);
  return 0;
}

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