PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / rdrand-3.c
bloba35fafe02cfb13745ff4c23aa2ca1b65e2b52f29
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mrdrnd -dp" } */
3 /* { dg-final { scan-assembler-times "rdranddi_1" 1 } } */
4 /* { dg-final { scan-assembler-times "\\*movsicc_noc" 1 } } */
6 #include <immintrin.h>
8 int
9 foo (unsigned long long *x)
11 return _rdrand64_step (x);