aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x86cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-11-08 21:27:44 +0000
committerAndy Polyakov <appro@openssl.org>2011-11-08 21:27:44 +0000
commitbdf40fd2511d61439d169146760a121bcb17f194 (patch)
tree99303054b64a39e0898593e779d205dfe3f0cf34 /crypto/x86cpuid.pl
parent3f54a7460c3360612f38e31e6482864b717da94e (diff)
downloadopenssl-bdf40fd2511d61439d169146760a121bcb17f194.tar.gz
x86cpuid.pl: compensate for imaginary virtual machines.
Diffstat (limited to 'crypto/x86cpuid.pl')
-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");