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
Add GCC support to ENQCMD.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
enqcmd.c
blob
2927f201f4b13e496b13f702f2b0b2fe87623f45
1
/* { dg-do compile } */
2
/* { dg-options "-menqcmd -O2" } */
3
/* { dg-final { scan-assembler-times "\tenqcmd" 1 } } */
4
/* { dg-final { scan-assembler-times "\tsete" 1 } } */
5
6
#include <x86intrin.h>
7
8
unsigned int
w
;
9
unsigned int
array
[
16
];
10
11
int
12
test_enqcmd
(
void
)
13
{
14
return
_enqcmd
(&
w
,
array
);
15
}
16