PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / rdseed32-1.c
blob646dff26daff50e4d58b7e9820927373fe7e3fea
1 /* { dg-do compile } */
2 /* { dg-options "-mrdseed -O2" } */
3 /* { dg-final { scan-assembler "rdseed\[ \\t\]+" } } */
5 #include <x86intrin.h>
7 void extern
8 rdseed_test (unsigned int *p)
10 volatile int r;
11 r = _rdseed32_step (p);