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