diff options
author | Andy Polyakov <appro@openssl.org> | 2007-07-21 14:46:27 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-07-21 14:46:27 +0000 |
commit | 3df2eff4bd39ecdd94fc559acd78e581d302f68d (patch) | |
tree | f88f58de3a2a0f1f641dd7004c8b0b23ca1c656f /crypto/x86_64cpuid.pl | |
parent | a415ebd026669d89cf19658f75a22bb85d3ecbfc (diff) | |
download | openssl-3df2eff4bd39ecdd94fc559acd78e581d302f68d.tar.gz |
x86*cpuid update.
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r-- | crypto/x86_64cpuid.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl index f90bbc9ab0..e29792a157 100644 --- a/crypto/x86_64cpuid.pl +++ b/crypto/x86_64cpuid.pl @@ -134,8 +134,6 @@ OPENSSL_ia32_cpuid: mov \$1,%eax cpuid - bt \$28,%edx # test hyper-threading bit - jnc .Ldone cmp \$0,%r9d jne .Lnotintel or \$1<<20,%edx # use reserved bit to engage RC4_CHAR @@ -144,6 +142,8 @@ OPENSSL_ia32_cpuid: je .Lnotintel or \$1<<30,%edx # use reserved bit to skip unrolled loop .Lnotintel: + bt \$28,%edx # test hyper-threading bit + jnc .Ldone shr \$16,%ebx cmp \$1,%bl # see if cache is shared ja .Ldone |