summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-03-18 20:03:44 +0100
committerAndy Polyakov <appro@openssl.org>2013-03-18 20:03:44 +0100
commit01de6e21cc33292c5d0bb326b73bd8cd8a79b0da (patch)
tree02e1df2c8e336ac1f99beb88e48faf0dc8f237f3 /crypto
parent05689a132cbb40800677486317c0694fa65fd118 (diff)
x86cpuid.pl: make it work with older CPU.
PR: 3005, from master
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x86cpuid.pl1
1 files changed, 1 insertions, 0 deletions
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"));