2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pause-1.c
blob50eb8e7e2fb2be437a69b2cca12a7bad943daa37
1 /* Test that we generate pause instruction. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -dp" } */
4 /* { dg-final { scan-assembler-times "\\*pause" 1 } } */
6 #include <x86intrin.h>
8 void foo(void)
10 __pause();