From: Andy Polyakov Date: Tue, 8 Nov 2011 21:28:14 +0000 (+0000) Subject: x86cpuid.pl: compensate for imaginary virtual machines [from HEAD]. X-Git-Tag: OpenSSL_1_0_1-beta1~99 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6471ec71aa8550317d180c141661d603766f74dd;p=oweals%2Fopenssl.git x86cpuid.pl: compensate for imaginary virtual machines [from HEAD]. PR: 2633 --- diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index 4073d4d773..97adde383b 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");