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
/
wrgsbase-2.c
blob
8df1eb84b52cdbe4188a00f94a5ebb19d8f79138
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mfsgsbase" } */
3
/* { dg-final { scan-assembler "wrgsbase\[ \t]+(%|)(rdi|rcx)" } } */
4
5
#include <immintrin.h>
6
7
void
8
write_gs_base64
(
unsigned long long
base
)
9
{
10
_writegsbase_u64
(
base
);
11
}