repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pause-1.c
blob
50eb8e7e2fb2be437a69b2cca12a7bad943daa37
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
}