libbb/sha1: shrink and speed up fully unrolled version

function                                             old     new   delta
sha1_process_block64                                4149    3950    -199

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2021-12-31 17:06:00 +01:00
parent 0b62a08777
commit f09d088fdf
2 changed files with 23 additions and 1 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 339 374 4149 4167
0 360 374 3950 4167
1 224 229 654 732
2,3 200 195 358 380