From: Andy Polyakov Date: Mon, 18 Mar 2013 19:03:44 +0000 (+0100) Subject: x86cpuid.pl: make it work with older CPU. X-Git-Tag: OpenSSL_0_9_8za~66 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01de6e21cc33292c5d0bb326b73bd8cd8a79b0da;p=oweals%2Fopenssl.git x86cpuid.pl: make it work with older CPU. PR: 3005, from master --- diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl index 4408ef2936..5096b488c0 100644 --- a/crypto/x86cpuid.pl +++ b/crypto/x86cpuid.pl @@ -33,6 +33,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &data_byte(0x0f,0x95,0xc0); #&setne (&LB("eax")); &or ("ebp","eax"); &mov ("eax",1); + &xor ("ecx","ecx"); &cpuid (); &cmp ("ebp",0); &jne (&label("notP4"));