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:
dd4eefd
)
Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 3 Dec 2011 21:47:48 +0000
(21:47 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 3 Dec 2011 21:47:48 +0000
(21:47 +0000)
machines.
crypto/x86cpuid.pl
patch
|
blob
|
history
diff --git
a/crypto/x86cpuid.pl
b/crypto/x86cpuid.pl
index 168e4fa0a9b3b02caa66f110f42aec0cd2de9eb7..e8eaef758262343b541942476157b644eac2e7d8 100644
(file)
--- 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");