From: Niels Möller Date: Fri, 1 Jul 2011 20:26:06 +0000 (+0200) Subject: Added ALIGN for shifting loop. Deleted obsolete ifelse. X-Git-Tag: nettle_2.2_release_20110711~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3299195d9dc593173ec0c5cf53a51943c1c6f85;p=thirdparty%2Fnettle.git Added ALIGN for shifting loop. Deleted obsolete ifelse. Rev: nettle/x86_64/memxor.asm:1.2 --- diff --git a/x86_64/memxor.asm b/x86_64/memxor.asm index 17a22bbd..d9b05b18 100644 --- a/x86_64/memxor.asm +++ b/x86_64/memxor.asm @@ -78,7 +78,6 @@ PROLOGUE(memxor3) jnz .Lalign_loop .Laligned: -ifelse(x,x,< C Check for the case that AP and BP have the same alignment, C but different from DST. mov AP, TMP @@ -117,6 +116,8 @@ ifelse(x,x,< jz .Ldone jmp .Lshift_next + ALIGN(4) + .Lshift_loop: mov 8(AP, N), S0 xor 8(BP, N), S0 @@ -154,7 +155,6 @@ C jz .Ldone jmp .Lfinal_loop .Lno_shift_case: ->) C Next destination word is -8(DST, N) C Setup for unrolling test $8, N