]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Moved some instructions around.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 11 Feb 2002 22:32:56 +0000 (23:32 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 11 Feb 2002 22:32:56 +0000 (23:32 +0100)
Rev: src/nettle/sparc/aes.asm:1.6

sparc/aes.asm

index 300295524923e84a6754fbe86d2b57bf69a10003..019809652985a157c733825db5c12cf2ef8d4b97 100644 (file)
@@ -67,16 +67,16 @@ key_addition_8to32:
        .proc   020
 key_addition32:
        ! Use %g2 and %g3 as temporaries, %o3 as counter
-       mov     0, %o3
-       ! Decrement out, so we can increment the counter earlier in the loop
-       sub     %o2, 4, %o2
+       mov     -4, %o3
+       ! Increment txt
+       add     %o0, 4, %o0
 .LL26:
        ! Get txt[i]
        ld      [%o0+%o3], %g2
+       add     %o3, 4, %o3
        ! Get keys[i]
        ld      [%o1+%o3], %g3
        cmp     %o3, 12
-       add     %o3, 4, %o3
 
        xor     %g2, %g3, %g3