repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
rdrand-2.c
blob
22973834dca3bc1c0025107fb387cc3805eeee58
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mrdrnd " } */
3
/* { dg-final { scan-assembler "rdrand\[ \t]+(%|)eax" } } */
4
/* { dg-final { scan-assembler "jnc\[ \t]+" } } */
5
6
#include <immintrin.h>
7
8
unsigned int
9
read_rdrand32
(
void
)
10
{
11
return
_rdrand_u32
();
12
}