summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-12-03 21:47:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-12-03 21:47:48 +0000
commitefd031abca58553db78fd2c7ca036812273580b3 (patch)
tree71dc95ca4defd93c019e4e983f3b54d71781ea52
parentdd4eefdb7bfe0898d7debc061b199f0cc2fdd8ce (diff)
Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual
machines.
-rw-r--r--crypto/x86cpuid.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl
index 168e4fa0a9..e8eaef7582 100644
--- 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");