2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / wrgsbase-2.c
blob8df1eb84b52cdbe4188a00f94a5ebb19d8f79138
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mfsgsbase" } */
3 /* { dg-final { scan-assembler "wrgsbase\[ \t]+(%|)(rdi|rcx)" } } */
5 #include <immintrin.h>
7 void
8 write_gs_base64 (unsigned long long base)
10 _writegsbase_u64 (base);