lavu/ripemd: Fully unroll the transform function loops
authorJames Almer <jamrial@gmail.com>
Mon, 9 Sep 2013 08:42:21 +0000 (05:42 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Sep 2013 09:18:43 +0000 (11:18 +0200)
commit452ac2aaecf7210a2912d9156869c6314142a794
treef45f94d6fc0e1c032e38c3f69537a952f72a79c8
parentb4e1630d4d25e7611bcd0c048deb52379abd1fc6
lavu/ripemd: Fully unroll the transform function loops

crypto_bench RIPEMD-160 results using an AMD Athlon X2 7750+, mingw32-w64 GCC 4.8.1 x86_64

Before:
lavu       RIPEMD-160   size: 1048576  runs:   1024  time:   12.342 +- 0.199

After:
lavu       RIPEMD-160   size: 1048576  runs:   1024  time:   10.143 +- 0.192

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/ripemd.c