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 168e4fa..e8eaef7 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");