projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05689a1
)
x86cpuid.pl: make it work with older CPU.
author
Andy Polyakov
<appro@openssl.org>
Mon, 18 Mar 2013 19:03:44 +0000
(20:03 +0100)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 18 Mar 2013 19:03:44 +0000
(20:03 +0100)
PR: 3005, from master
crypto/x86cpuid.pl
patch
|
blob
|
history
diff --git
a/crypto/x86cpuid.pl
b/crypto/x86cpuid.pl
index 4408ef2936ecff908d7965e2fa9ed718ccfe6331..5096b488c03a4f97f60156e7c6cc63ffc48e3776 100644
(file)
--- 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"));