* gcc.target/i386/xop-rotate1-vector.c (dg-options): Add -mno-avx2.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / rdrand-2.c
blobea8e906495383c2e1c5336727266b53fa56e0f35
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 } } */
6 #include <immintrin.h>
8 int
9 foo (unsigned int *x)
11 return _rdrand32_step (x);