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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx-vzeroupper-12.c
blob
e694d4048bdbd0be746fdafed0fcb77c1b9e3714
1
/* { dg-do compile } */
2
/* { dg-options "-O0 -mavx -mvzeroupper -dp" } */
3
4
#include <immintrin.h>
5
6
extern
__m256 x
,
y
;
7
8
void
9
foo
()
10
{
11
_mm256_zeroall
();
12
_mm256_zeroupper
();
13
x
=
y
;
14
_mm256_zeroupper
();
15
_mm256_zeroupper
();
16
_mm256_zeroupper
();
17
}
18
19
/* { dg-final { scan-assembler-times "avx_vzeroupper" 4 } } */
20
/* { dg-final { scan-assembler-times "\\*avx_vzeroall" 1 } } */