]> granicus.if.org Git - openssl/commitdiff
x86cpuid.pl: compensate for imaginary virtual machines.
authorAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 21:27:44 +0000 (21:27 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 21:27:44 +0000 (21:27 +0000)
crypto/x86cpuid.pl

index 168e4fa0a9b3b02caa66f110f42aec0cd2de9eb7..e8eaef758262343b541942476157b644eac2e7d8 100644 (file)
@@ -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");