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 (160224:163495).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
rdrand-1.c
blob
4f6b9e177e07a6fd207a2215cdb870791bba9f59
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mrdrnd " } */
3
/* { dg-final { scan-assembler "rdrand\[ \t]+(%|)ax" } } */
4
/* { dg-final { scan-assembler "jnc\[ \t]+" } } */
5
6
#include <immintrin.h>
7
8
unsigned short
9
read_rdrand16
(
void
)
10
{
11
return
_rdrand_u16
();
12
}