libbb/sha1: x86_64 version: generate from a script, optimize a bit

function                                             old     new   delta
sha1_process_block64                                3569    3502     -67

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2022-01-03 13:00:07 +01:00
parent 05fd13ebec
commit 947bef0dea
3 changed files with 474 additions and 267 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 3570
0 367 375 3657 3502
1 224 229 654 732
2,3 200 195 358 380