浏览代码

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 年之前
父节点
当前提交
a43478863b
共有 1 个文件被更改,包括 0 次插入1 次删除
  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;