diff options
author | Andy Polyakov <appro@openssl.org> | 2011-11-05 17:56:10 +0400 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-11-05 17:56:10 +0400 |
commit | 6fcc2bbce88a4b5338c62df12d8adae82597f97d (patch) | |
tree | 70b5cafda657f4d7c39974413a67665f3418b9e5 | |
parent | f2b0cf9178450fe58d0546cbb1e2f25b48e30f24 (diff) |
x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs [from HEAD].
PR: 2633
-rw-r--r-- | crypto/x86cpuid.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |