blob: 5474288be0c07eeb900c1c52a571807a81849859 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O2 -mfsgsbase" } */
/* { dg-final { scan-assembler "wrgsbase\[ \t]+(%|)(edi|ecx)" } } */
#include <immintrin.h>
void
write_gs_base32 (unsigned int base)
{
_writegsbase_u32 (base);
}
|