Commit be6d8b3a authored by Niels Möller's avatar Niels Möller
Browse files

Moved some instructions around.

Rev: src/nettle/sparc/aes.asm:1.6
parent bc5482c2
...@@ -67,16 +67,16 @@ key_addition_8to32: ...@@ -67,16 +67,16 @@ key_addition_8to32:
.proc 020 .proc 020
key_addition32: key_addition32:
! Use %g2 and %g3 as temporaries, %o3 as counter ! Use %g2 and %g3 as temporaries, %o3 as counter
mov 0, %o3 mov -4, %o3
! Decrement out, so we can increment the counter earlier in the loop ! Increment txt
sub %o2, 4, %o2 add %o0, 4, %o0
.LL26: .LL26:
! Get txt[i] ! Get txt[i]
ld [%o0+%o3], %g2 ld [%o0+%o3], %g2
add %o3, 4, %o3
! Get keys[i] ! Get keys[i]
ld [%o1+%o3], %g3 ld [%o1+%o3], %g3
cmp %o3, 12 cmp %o3, 12
add %o3, 4, %o3
xor %g2, %g3, %g3 xor %g2, %g3, %g3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment