From: Andy Polyakov Date: Sat, 5 Nov 2011 10:44:12 +0000 (+0000) Subject: x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs. X-Git-Tag: master-post-reformat~2116 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e879dd4386541cb04fa93452412c42ccbffbf334;p=oweals%2Fopenssl.git x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs. PR: 2633 --- diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index 6595ff35fc..168e4fa0a9 100644 --- a/crypto/x86cpuid.pl +++ b/crypto/x86cpuid.pl @@ -122,7 +122,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &bt ("ecx",26); # check XSAVE bit &jnc (&label("done")); &bt ("ecx",27); # check OSXSAVE bit - &jnc (&label("clear_xmm")); + &jnc (&label("clear_avx")); &xor ("ecx","ecx"); &data_byte(0x0f,0x01,0xd0); # xgetbv &and ("eax",6);