Browse Source

crypto: twofish-avx - remove useless instruction

The register %rdx is written, but never read till the end of the encryption
routine. Therefore let's delete the useless instruction.

Signed-off-by: Johannes Goetzfried <Johannes.Goetzfried@informatik.stud.uni-erlangen.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Johannes Goetzfried 13 years ago
parent
commit
a43478863b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/x86/crypto/twofish-avx-x86_64-asm_64.S

+ 0 - 1
arch/x86/crypto/twofish-avx-x86_64-asm_64.S

@@ -243,7 +243,6 @@ __twofish_enc_blk_8way:
 	popq %rbx;
 
 	leaq (4*4*4)(%rsi), %rax;
-	leaq (4*4*4)(%rax), %rdx;
 
 	testb %cl, %cl;
 	jnz __enc_xor8;