From: Niels Möller Date: Fri, 15 Feb 2002 21:59:19 +0000 (+0100) Subject: (_aes_crypt): Moved reading of ctx->nrounds out of the loop. X-Git-Tag: nettle_1.6_release_20021003~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbe6c4b4ebce4fe12af39f354f3768fc7ad8b10;p=thirdparty%2Fnettle.git (_aes_crypt): Moved reading of ctx->nrounds out of the loop. Rev: src/nettle/sparc/aes.asm:1.32 --- diff --git a/sparc/aes.asm b/sparc/aes.asm index 0105bad4..7853e0e9 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -41,6 +41,9 @@ _aes_crypt: add %fp, -40, tmp ! Compute xor, so that we can swap efficiently. xor wtxt, tmp, diff + + ld [ctx + AES_NROUNDS], nround + .Lblock_loop: ! Read src, and add initial subkey mov -4, i @@ -92,7 +95,6 @@ _aes_crypt: ! bleu .Lsource_loop ! add %o3, 4, %o3 - ld [ctx + AES_NROUNDS], nround mov 1, round ! 4*i: i