lavu/sha512: Fully unroll the transform function loops
authorJames Almer <jamrial@gmail.com>
Mon, 9 Sep 2013 23:16:40 +0000 (20:16 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Sep 2013 19:55:59 +0000 (21:55 +0200)
commitbbcaf25d4d2130fa9c34c314628f9fd2f706b61b
tree1ae1db6c3053abb62cba18bffae176dcf7f55d52
parent7e4fe5162ab94a413e04caae19193c5e7a4c6478
lavu/sha512: Fully unroll the transform function loops

crypto_bench SHA-512 results using an AMD Athlon X2 7750+, mingw32-w64 GCC 4.7.3 x86_64

Before:
lavu       SHA-512      size: 1048576  runs:   1024  time:   12.737 +- 0.147

After:
lavu       SHA-512      size: 1048576  runs:   1024  time:   11.670 +- 0.173

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