diff options
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 f90bbc9..e29792a 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 |