chacha/asm/chacha-armv8.pl: replace 3+1 code paths with 4+1.
authorAndy Polyakov <appro@openssl.org>
Wed, 17 Apr 2019 19:31:01 +0000 (21:31 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 17 Apr 2019 19:31:01 +0000 (21:31 +0200)
commit86a7ac5e76fd3df9a5c3422153ae5a3e4f99b3a8
treea04f3b1c5a062736383b3ee558e4a9709200a161
parentd6e4287c9726691e800bff221be71edd894a3c6a
chacha/asm/chacha-armv8.pl: replace 3+1 code paths with 4+1.

The change is triggered by ThunderX2 where 3+1 was slower than scalar
code path, but it helps all processors [to handle <512 inputs].

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8776)
crypto/chacha/asm/chacha-armv8.pl