From: Andy Polyakov Date: Mon, 24 Jul 2017 21:50:47 +0000 (+0200) Subject: crypto/x86_64cpuid.pl: fix typo in Knights Landing detection. X-Git-Tag: OpenSSL_1_1_1-pre1~984 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d84df594404ebbd71d21fec5526178d935e4d88d;p=oweals%2Fopenssl.git crypto/x86_64cpuid.pl: fix typo in Knights Landing detection. Thanks to David Benjamin for spotting this! Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4009) --- 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)