diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-03-15 08:20:39 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-03-15 08:20:39 +0100 |
commit | 3f25ddf24d55815ddd37fd97a9781e0b4e95f16f (patch) | |
tree | eca55e15c3f2da2a4fb761efd17f37395ed9907b /armv7 | |
parent | 14ee65fc7a5e516ad61052c74d41c44322d0f0f3 (diff) | |
download | nettle-3f25ddf24d55815ddd37fd97a9781e0b4e95f16f.tar.gz |
ARM sha3 micro optimization: Eliminate a vmov.
Diffstat (limited to 'armv7')
-rw-r--r-- | armv7/sha3-permute.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/armv7/sha3-permute.asm b/armv7/sha3-permute.asm index 79ce9663..757fe20f 100644 --- a/armv7/sha3-permute.asm +++ b/armv7/sha3-permute.asm @@ -215,7 +215,7 @@ PROLOGUE(nettle_sha3_permute) ROL(A17, A11, 10) ROL(A11, A7, 6) ROL( A7, A10, 3) - vmov A10, T0 + C New A10 value left in T0 vbic C0, A2, A1 vbic C1, A3, A2 @@ -242,10 +242,10 @@ PROLOGUE(nettle_sha3_permute) vbic C0, A12, A11 vbic C1, A13, A12 vbic C2, A14, A13 - vbic C3, A10, A14 - vbic C4, A11, A10 + vbic C3, T0, A14 + vbic C4, A11, T0 - veor A10, A10, C0 + veor A10, T0, C0 veor QREG(A11), QREG(A11), QREG(C1) veor QREG(A13), QREG(A13), QREG(C3) |