]> git.ipfire.org Git - thirdparty/nettle.git/commit
arm: Fix memxor for non-armv6+ big-endian systems
authorMichael Weiser <michael.weiser@gmx.de>
Thu, 5 Mar 2020 19:13:07 +0000 (20:13 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 12 Mar 2020 20:55:25 +0000 (21:55 +0100)
commit46fcc7f0b6abffd2632d8809ef8dc8f70e4a1ff9
treef3ae2c9bdc1075c8ae9485cd0e6afe2aef0e84f9
parentdedba6ff09f78b96dbc5a2b3a13fb8825f438d3c
arm: Fix memxor for non-armv6+ big-endian systems

ARM assembly adjustments for big-endian systems contained armv6+-only
instructions (rev) in generic arm memxor code. Replace those with an
actual conversion of the leftover byte store routines for big-endian
systems. This also provides a slight optimisation by removing the
additional instruction as well as increased symmetry between little- and
big-endian implementations.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
arm/memxor.asm
arm/memxor3.asm