From d2bfb39b54f4bb55f831cdba02fb243c679a19d7 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 23 Jan 2020 21:48:09 -0800 Subject: [PATCH] Disable RDRand in CPUID --- Source/Interface/Core/CPUID.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Interface/Core/CPUID.cpp b/Source/Interface/Core/CPUID.cpp index c5a01b787..c32b3c448 100644 --- a/Source/Interface/Core/CPUID.cpp +++ b/Source/Interface/Core/CPUID.cpp @@ -34,7 +34,8 @@ CPUIDEmu::FunctionResults CPUIDEmu::Function_01h() { (3 << 26) | // Let's say that XSAVE isn't enabled by the OS. Prevents glibc from using XSAVE/XGETBV (1 << 19) | // Remove SSE4.1 (1 << 20) | // Remove SSE4.2 - (1 << 28) // Remove AVX + (1 << 28) | // Remove AVX + (1 << 30) // Remove RDRAND ); return Res;