diff options
author | Andy Polyakov <appro@openssl.org> | 2013-03-18 20:03:44 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-03-18 20:03:44 +0100 |
commit | 01de6e21cc33292c5d0bb326b73bd8cd8a79b0da (patch) | |
tree | 02e1df2c8e336ac1f99beb88e48faf0dc8f237f3 /crypto/x86cpuid.pl | |
parent | 05689a132cbb40800677486317c0694fa65fd118 (diff) |
x86cpuid.pl: make it work with older CPU.
PR: 3005, from master
Diffstat (limited to 'crypto/x86cpuid.pl')
-rw-r--r-- | crypto/x86cpuid.pl | 1 |
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")); |