From 01de6e21cc33292c5d0bb326b73bd8cd8a79b0da Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 18 Mar 2013 20:03:44 +0100 Subject: [PATCH] x86cpuid.pl: make it work with older CPU. PR: 3005, from master --- crypto/x86cpuid.pl | 1 + 1 file changed, 1 insertion(+) 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")); -- 2.25.1