From be6d8b3a4194b1893998a2f5ed1e300c10fc00b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 11 Feb 2002 23:32:56 +0100 Subject: [PATCH] Moved some instructions around. Rev: src/nettle/sparc/aes.asm:1.6 --- sparc/aes.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sparc/aes.asm b/sparc/aes.asm index 30029552..01980965 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -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 -- GitLab