]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Added ALIGN for shifting loop. Deleted obsolete ifelse.
authorNiels Möller <nisse@lysator.liu.se>
Fri, 1 Jul 2011 20:26:06 +0000 (22:26 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 1 Jul 2011 20:26:06 +0000 (22:26 +0200)
Rev: nettle/x86_64/memxor.asm:1.2

x86_64/memxor.asm

index 17a22bbdc2a73b181ef87ac5e0733bce8784ef76..d9b05b18e5c5aa50c891e29ef182e4139fc45ea3 100644 (file)
@@ -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