Skip to content

Commit

Permalink
crypto: twofish-avx - remove useless instruction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Goetzfried authored and Herbert Xu committed Jul 11, 2012
1 parent e46e9a4 commit a434788
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/crypto/twofish-avx-x86_64-asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a434788

Please sign in to comment.