First Commit
This commit is contained in:
10
externals/cryptopp/TestPrograms/test_x86_rdrand.cpp
vendored
Normal file
10
externals/cryptopp/TestPrograms/test_x86_rdrand.cpp
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user