diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-16 17:12:35 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-16 17:12:35 +0100 |
commit | 1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0 (patch) | |
tree | 65e6698bcb7abf8f4c3a6313ebc327d5cca22da9 /libar2_hash.c | |
parent | Small optimisation for little-endian machines (diff) | |
download | libar2-1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0.tar.gz libar2-1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0.tar.bz2 libar2-1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0.tar.xz |
Unrolling loop of rounds does not improve performance
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2_hash.c')
-rw-r--r-- | libar2_hash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libar2_hash.c b/libar2_hash.c index 8afb02d..9d629f6 100644 --- a/libar2_hash.c +++ b/libar2_hash.c @@ -180,7 +180,6 @@ fill_block(struct block *block, const struct block *prevblock, const struct bloc ARR[OFF + W8], ARR[OFF + W9], ARR[OFF + WA], ARR[OFF + WB],\ ARR[OFF + WC], ARR[OFF + WD], ARR[OFF + WE], ARR[OFF + WF]) - /* TODO does unrolling these loop help? */ for (i = 0; i < 8; i++) { BLAMKA_ROUND_(tmpblock.w, i * 16, 0, 1, 2, 3, |