From: Dr. Stephen Henson Date: Sat, 3 Dec 2011 21:47:48 +0000 (+0000) Subject: Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual X-Git-Tag: OpenSSL-fips-2_0-rc6~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efd031abca58553db78fd2c7ca036812273580b3;p=openssl Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual machines. --- diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index 168e4fa0a9..e8eaef7582 100644 --- a/crypto/x86cpuid.pl +++ b/crypto/x86cpuid.pl @@ -119,8 +119,6 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &mov ("esi","edx"); &or ("ebp","ecx"); # merge AMD XOP flag - &bt ("ecx",26); # check XSAVE bit - &jnc (&label("done")); &bt ("ecx",27); # check OSXSAVE bit &jnc (&label("clear_avx")); &xor ("ecx","ecx");