blob: 48b4ee25a276f4c9081bec9c4931fed00355ba8d [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mrdrnd -dp" } */
/* { dg-final { scan-assembler-times "rdranddi" 1 } } */
/* { dg-final { scan-assembler-times "\\*movsicc_noc" 1 } } */
#include <immintrin.h>
int
foo (unsigned long long *x)
{
return _rdrand64_step (x);
}