Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pause-1.c
blob: 50eb8e7e2fb2be437a69b2cca12a7bad943daa37 [
file
] [
log
] [
blame
]
/* Test that we generate pause instruction. */
/* { dg-do compile } */
/* { dg-options "-O2 -dp" } */
/* { dg-final { scan-assembler-times "\\*pause" 1 } } */
#include
<x86intrin.h>
void
foo
(
void
)
{
__pause
();
}