From efd031abca58553db78fd2c7ca036812273580b3 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 3 Dec 2011 21:47:48 +0000 Subject: [PATCH] Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual machines. --- crypto/x86cpuid.pl | 2 -- 1 file changed, 2 deletions(-) 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"); -- 2.25.1