projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b0cf9
)
x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Sat, 5 Nov 2011 13:56:10 +0000
(13:56 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 5 Nov 2011 13:56:10 +0000
(13:56 +0000)
PR: 2633
crypto/x86cpuid.pl
patch
|
blob
|
history
diff --git
a/crypto/x86cpuid.pl
b/crypto/x86cpuid.pl
index 6595ff35fc1bbcbf6a4619a56088e48e7b2bd39b..168e4fa0a9b3b02caa66f110f42aec0cd2de9eb7 100644
(file)
--- 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);