summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-11-05 10:44:25 +0000
committerAndy Polyakov <appro@openssl.org>2011-11-05 10:44:25 +0000
commitcb45708061511fe50b0a7de1778d77757208bb49 (patch)
tree110a9c8276b7710bb3e2ff645b0c8d5900efbc3a /crypto
parent02597f2885c104f0e18285e5e20183ea5b3fe5d1 (diff)
x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs.
PR: 2633
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x86cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl
index d3d67c81d1..4073d4d773 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);