aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-16 17:12:35 +0100
committerMattias Andrée <maandree@kth.se>2022-02-16 17:12:35 +0100
commit1be1e0c7ef7c9ef4ae6ba59bb1002d34a28dd1e0 (patch)
tree65e6698bcb7abf8f4c3a6313ebc327d5cca22da9
parentSmall optimisation for little-endian machines (diff)
downloadlibar2-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 '')
-rw-r--r--libar2_hash.c1
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,