{arm64|x86_64}cpuid.pl: add special 16-byte case to OPENSSL_memcmp.
authorAndy Polyakov <appro@openssl.org>
Sun, 20 May 2018 10:13:16 +0000 (12:13 +0200)
committerAndy Polyakov <appro@openssl.org>
Sun, 3 Jun 2018 19:15:18 +0000 (21:15 +0200)
commit9a708bf982da1d2c9739339d16d7b021da955e00
treedf89472c5fd490b136366a612dae57acb7147cbe
parentc1b2569d234c1247d2a7a3338ca4568bc0a489a5
{arm64|x86_64}cpuid.pl: add special 16-byte case to OPENSSL_memcmp.

OPENSSL_memcmp is a must in GCM decrypt and general-purpose loop takes
quite a portion of execution time for short inputs, more than GHASH for
few-byte inputs according to profiler. Special 16-byte case takes it off
top five list in profiler output.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6312)
crypto/arm64cpuid.pl
crypto/x86_64cpuid.pl