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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
rdgsbase-2.c
blob
5c5a45b2a22a577081fb1ae2e7a112d39ff76444
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mfsgsbase" } */
3
/* { dg-final { scan-assembler "rdgsbase\[ \t]+(%|)rax" } } */
4
5
#include <immintrin.h>
6
7
unsigned long long
8
read_gs_base64
(
void
)
9
{
10
return
_readgsbase_u64
();
11
}