summaryrefslogtreecommitdiff
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-08-23 12:01:58 +0000
committerAndy Polyakov <appro@openssl.org>2007-08-23 12:01:58 +0000
commit55eab3b74b61eef2fe320710ee3675583035d5c5 (patch)
tree3f768f906f552e74bb56a9d827f11eacee50b1b8 /crypto/x86_64cpuid.pl
parentdc0fcb98dffb20f6ee4cd6a8ee588c9f64373a99 (diff)
downloadopenssl-new-55eab3b74b61eef2fe320710ee3675583035d5c5.tar.gz
Make x86_64 modules work under Win64/x64.
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index e29792a157..a8049def18 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -136,11 +136,11 @@ OPENSSL_ia32_cpuid:
cpuid
cmp \$0,%r9d
jne .Lnotintel
- or \$1<<20,%edx # use reserved bit to engage RC4_CHAR
+ or \$0x00100000,%edx # use reserved 20th bit to engage RC4_CHAR
and \$15,%ah
cmp \$15,%ah # examine Family ID
je .Lnotintel
- or \$1<<30,%edx # use reserved bit to skip unrolled loop
+ or \$0x40000000,%edx # use reserved bit to skip unrolled loop
.Lnotintel:
bt \$28,%edx # test hyper-threading bit
jnc .Ldone