[PATCH 3/3] Enable assembler optimizations on earlier ARM cores
Jussi Kivilinna
jussi.kivilinna at iki.fi
Wed Oct 23 13:11:45 CEST 2013
On 22.10.2013 22:29, Dmitry Eremin-Solenikov wrote:
> * cipher/blowfish-armv6.S => cipher/blowfish-arm.S: adapt to pre-armv6 CPUs.
> * cipher/blowfish.c: enable assembly on armv4/armv5 little-endian CPUs.
> * cipher/camellia-armv6.S => cipher/camellia-arm.S: adapt to pre-armv6 CPUs.
> * cipher/camellia.c, cipher-camellia-glue.c: enable assembly on armv4/armv5
> little-endian CPUs.
> * cipher/cast5-armv6.S => cipher/cast5-arm.S: adapt to pre-armv6 CPUs.
> * cipher/cast5.c: enable assembly on armv4/armv5 little-endian CPUs.
> * cipher/rijndael-armv6.S => cipher/rijndael-arm.S: adapt to pre-armv6 CPUs.
> * cipher/rijndael.c: enable assembly on armv4/armv5 little-endian CPUs.
> * cipher/twofish-armv6.S => cipher/twofish-arm.S: adapt to pre-armv6 CPUs.
> * cipher/twofish.c: enable assembly on armv4/armv5 little-endian CPUs.
>
> --
> Our ARMv6 assembly optimized code can be easily adapted to earlier CPUs.
> The only incompatible place is rev instruction used to do byte swapping.
> Replace it on <= ARMv6 with a series of 4 instructions.
>
Thanks. I've added few fixes and if none objects, I'll push these later today
or tomorrow.
-Jussi
More information about the Gcrypt-devel
mailing list