libbb/sha1: shrink x86_64 version - use r8..15 for W[8..15]

function                                             old     new   delta
sha1_process_block64                                3683    3562    -121

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2022-01-01 15:01:53 +01:00
parent 5f68170204
commit d643010fee
2 changed files with 240 additions and 61 deletions

View File

@@ -59,7 +59,7 @@ config SHA1_SMALL
Trade binary size versus speed for the sha1 algorithm.
throughput MB/s size of sha1_process_block64
value 486 x86-64 486 x86-64
0 367 367 3657 3683
0 367 367 3657 3562
1 224 229 654 732
2,3 200 195 358 380