repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx-vzeroupper-5.c
blob
ba08978ab4e237435f782b7e9fd324a159b36c13
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
11
foo
()
12
{
13
bar2
(
y
);
14
_mm256_zeroupper
();
15
}
16
17
/* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */