summaryrefslogtreecommitdiff
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-07-24 23:50:47 +0200
committerAndy Polyakov <appro@openssl.org>2017-07-25 21:27:47 +0200
commitd84df594404ebbd71d21fec5526178d935e4d88d (patch)
tree021ed3c466e75be51302e97a41bf29c00a2b2f86 /crypto/x86_64cpuid.pl
parent1843787173da9b07029d0863e236107b1dd4fdd7 (diff)
downloadopenssl-new-d84df594404ebbd71d21fec5526178d935e4d88d.tar.gz
crypto/x86_64cpuid.pl: fix typo in Knights Landing detection.
Thanks to David Benjamin for spotting this! Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4009)
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index a9f93bb2cf..da6d4a232b 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -150,7 +150,7 @@ OPENSSL_ia32_cpuid:
.LnotP4:
cmp \$6,%ah
jne .Lnotintel
- and \$0x0ffff0f0,%eax
+ and \$0x0fff0ff0,%eax
cmp \$0x00050670,%eax # Knights Landing
je .Lknights
cmp \$0x00080650,%eax # Knights Mill (according to sde)