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
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
rdgsbase-1.c
blob
cb2a3d5811ce9a9a08cabd987e3d782359cb87f1
1
/* { dg-do compile { target { ! { ia32 } } } } */
2
/* { dg-options "-O2 -mfsgsbase" } */
3
/* { dg-final { scan-assembler "rdgsbase\[ \t]+(%|)eax" } } */
4
5
#include <immintrin.h>
6
7
unsigned int
8
read_gs_base32
(
void
)
9
{
10
return
_readgsbase_u32
();
11
}