Debian Codegraph @

gcc/testsuite/gcc.target/i386/pause-1.c

raw
1 /* Test that we generate pause instruction. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -dp" } */
4 /* { dg-final { scan-assembler-times "\\*pause" 1 } } */
5
6 #include <x86intrin.h>
7
8 void foo(void)
9 {
10 __pause();
11 }