Re: [PATCH v2 5/6] crypto: lib/sha256 - Unroll LOAD and BLEND loops

2020-10-21 Thread Eric Biggers
On Tue, Oct 20, 2020 at 04:39:56PM -0400, Arvind Sankar wrote: > Unrolling the LOAD and BLEND loops improves performance by ~8% on x86_64 > (tested on Broadwell Xeon) while not increasing code size too much. > > Signed-off-by: Arvind Sankar > --- Looks good, Reviewed-by: Eric Biggers

[PATCH v2 5/6] crypto: lib/sha256 - Unroll LOAD and BLEND loops

2020-10-20 Thread Arvind Sankar
Unrolling the LOAD and BLEND loops improves performance by ~8% on x86_64 (tested on Broadwell Xeon) while not increasing code size too much. Signed-off-by: Arvind Sankar --- lib/crypto/sha256.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/cryp