2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / rdrand-3.c
blobde0e730ad1d7af6a8040aee3059690fa6211afc6
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);