aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x86cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-05-19 17:52:51 +0000
committerAndy Polyakov <appro@openssl.org>2007-05-19 17:52:51 +0000
commitb1e8b4e65d7a17e3c4c9293143a9535c51bb56c3 (patch)
treeadfd2ca7d2d2ab5e8718110eb76115911e0feebb /crypto/x86cpuid.pl
parentc6149e2f02dde61b6fd16c6ec9962f65d7eb37d8 (diff)
downloadopenssl-b1e8b4e65d7a17e3c4c9293143a9535c51bb56c3.tar.gz
x86cpuid fixes.
PR: 1526
Diffstat (limited to 'crypto/x86cpuid.pl')
-rw-r--r--crypto/x86cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86cpuid.pl b/crypto/x86cpuid.pl
index 13828d5633..ce9b8ea4dd 100644
--- a/crypto/x86cpuid.pl
+++ b/crypto/x86cpuid.pl
@@ -43,7 +43,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
&shr ("ebx",16);
&cmp (&LB("ebx"),1); # see if cache is shared(*)
&ja (&label("nocpuid"));
- &and ("edx",~(1<<28)); # clear hyper-threading bit if not
+ &and ("edx",0xefffffff); # clear hyper-threading bit if not
&set_label("nocpuid");
&mov ("eax","edx");
&mov ("edx","ecx");