mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
11 lines
247 B
C++
11 lines
247 B
C++
#include <immintrin.h>
|
|
#if (__GNUC__ >= 5) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6))
|
|
# include <x86intrin.h>
|
|
#endif
|
|
int main(int argc, char* argv[])
|
|
{
|
|
unsigned int x=0;
|
|
(void)_rdrand32_step (&x);
|
|
return x == 0 ? 0 : 0;
|
|
}
|