chiark / gitweb /
symm/rijndael-arm-crypto.S (rijndael_setup_arm_crypto): Avoid reload.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 12 Jul 2016 02:01:50 +0000 (03:01 +0100)
commitc82543b72c7743940ac545952d12f58a49e87e94
treee09a0d750105d05980e1949a64c6abbb538a76b7
parentf71eed58935aa99ad2c6ce1c6bff5cbf36e6fb93
symm/rijndael-arm-crypto.S (rijndael_setup_arm_crypto): Avoid reload.

Juggle the register allocation in the loop which copies over the first
key-data cycle, so as to arrange to leave the last copied key word in
r4.  Then we can elide the explicit load of r4 at the start of the main
key expansion loop, because it already has the right value, saving a
whole instruction.
symm/rijndael-arm-crypto.S