x86cpuid.pl: compensate for imaginary virtual machines [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 21:28:14 +0000 (21:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 21:28:14 +0000 (21:28 +0000)
PR: 2633

crypto/x86cpuid.pl

index 4073d4d77303491cd1795624543213dc10eb8cae..97adde383bb4e8d6ef0569892a02b3585469c416 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");