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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
rdrand-2.c
blob
ea8e906495383c2e1c5336727266b53fa56e0f35
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mrdrnd -dp" } */
3
/* { dg-final { scan-assembler-times "rdrandsi_1" 1 } } */
4
/* { dg-final { scan-assembler-times "\\*movsicc_noc" 1 } } */
5
6
#include <immintrin.h>
7
8
int
9
foo
(
unsigned int
*
x
)
10
{
11
return
_rdrand32_step
(
x
);
12
}