crypto: serpent-sse2 - change transpose_4x4 to only use integer instructions
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 20 Dec 2011 10:58:06 +0000 (12:58 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2012 05:38:40 +0000 (16:38 +1100)
commit847cb7ef565d31484f426677e0bea081bfd2acd9
tree7325f4ce5961e0d51ea4707119aeba80622991c3
parent4c58464b8034cef4317593bf4ccbfc19d5bb3a77
crypto: serpent-sse2 - change transpose_4x4 to only use integer instructions

Matrix transpose macro in serpent-sse2 uses mix of SSE2 integer and SSE floating
point instructions, which might cause performance penality on some CPUs.

This patch replaces transpose_4x4 macro with version that uses only SSE2
integer instructions.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/serpent-sse2-i586-asm_32.S
arch/x86/crypto/serpent-sse2-x86_64-asm_64.S