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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
xrstor-1.c
blob
3e701394890adfaaf04f0e3f130eb41ad91164b9
1
/* { dg-do compile } */
2
/* { dg-options "-mavx -O2" } */
3
/* { dg-final { scan-assembler "xrstor\[ \\t\]" } } */
4
5
#include <x86intrin.h>
6
7
void
extern
8
xsave_test
(
void
)
9
{
10
char
xsave_region
[
512
]
__attribute__
((
aligned
(
64
)));
11
_xrstor
(
xsave_region
, ((
long long
)
0xA0000000F
));
12
}