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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
xsaves-1.c
blob
05ff765489d430994ccdab8ddc2e3688e1d0af97
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mxsaves" } */
3
/* { dg-final { scan-assembler "xsaves\[ \\t\]" } } */
4
/* { dg-final { scan-assembler "xrstors\[ \\t\]" } } */
5
6
#include
"x86intrin.h"
7
8
void
9
test_xsaves
(
void
*
__A
,
long long
__B
)
10
{
11
_xsaves
(
__A
,
__B
);
12
_xrstors
(
__A
,
__B
);
13
}