Ludwig Nussel
|
526625bc83
|
libbb: mark stack in assembly files read-only
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-08-30 17:21:53 +02:00 |
|
Denys Vlasenko
|
c2e7780e52
|
libbb/sha256: explicitly use sha256rnds2's %xmm0 (MSG) argument
Else, the code seemingly does not use MSG.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-12 00:52:12 +01:00 |
|
Denys Vlasenko
|
dda77e8376
|
libbb/sha1: revert last commit: pshufb is a SSSE3 insn, can't use it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-11 14:53:26 +01:00 |
|
Denys Vlasenko
|
6f56fa1713
|
libbb/sha: improve comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-10 15:38:10 +01:00 |
|
Denys Vlasenko
|
6a6c1c0ea9
|
whitespace fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-09 11:29:23 +01:00 |
|
Denys Vlasenko
|
caa9c4f707
|
libbb/sha256: code shrink in x86 assembly
function old new delta
sha256_process_block64_shaNI 32-bit 676 673 -3
sha256_process_block64_shaNI 64-bit 680 677 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-09 01:50:22 +01:00 |
|
Denys Vlasenko
|
461a994b09
|
libbb/sha256: code shrink in 32-bit x86
function old new delta
sha256_process_block64_shaNI 697 676 -21
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-09 01:30:23 +01:00 |
|
Denys Vlasenko
|
c0ff0d4528
|
libbb/sha256: code shrink in 32-bit x86
function old new delta
sha256_process_block64_shaNI 713 697 -16
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-09 00:33:39 +01:00 |
|
Denys Vlasenko
|
c193cbd6df
|
libbb/sha1: shrink and speed up unrolled x86-64 code
function old new delta
sha1_process_block64 3514 3482 -32
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-07 02:34:04 +01:00 |
|
Denys Vlasenko
|
4f40735c87
|
libbb/sha256: code shrink in 32-bit x86
function old new delta
sha256_process_block64_shaNI 722 713 -9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-06 00:56:13 +01:00 |
|
Denys Vlasenko
|
de6cb4bed8
|
libbb/sha256: code shrink in 32-bit x86
function old new delta
sha256_process_block64_shaNI 747 722 -25
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-03 15:11:23 +01:00 |
|
Denys Vlasenko
|
6472ac9428
|
libbb/sha256: optional x86 hardware accelerated hashing
64 bit:
function old new delta
sha256_process_block64_shaNI - 730 +730
.rodata 108314 108586 +272
sha256_begin 31 83 +52
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 2/0 up/down: 1055/-1) Total: 1054 bytes
32 bit:
function old new delta
sha256_process_block64_shaNI - 747 +747
.rodata 104318 104590 +272
sha256_begin 29 84 +55
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 2/0 up/down: 1075/-1) Total: 1074 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2022-02-03 14:58:02 +01:00 |
|