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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
wrgsbase-1.c
blob
fba8c7d20ec4705cb127d7a0c759aa106f7a26f5
1
/* { dg-do compile { target { ! ia32 } } } */
2
/* { dg-options "-O2 -mfsgsbase" } */
3
/* { dg-final { scan-assembler "wrgsbase\[ \t]+(%|)(edi|ecx)" } } */
4
5
#include <immintrin.h>
6
7
void
8
write_gs_base32
(
unsigned int
base
)
9
{
10
_writegsbase_u32
(
base
);
11
}