sha/asm/keccak1600-armv4.pl: optimize for Thumb-2.
authorAndy Polyakov <appro@openssl.org>
Mon, 14 Aug 2017 14:33:36 +0000 (16:33 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 16 Aug 2017 18:25:20 +0000 (20:25 +0200)
commite0584e96c1b37edeec0222e28b9c37f97c6bbc02
tree15785c227a8b66df2177b4422ce294e73e6b3c93
parent6b9c46ff3fff3058d4877060f4f6ea033767cde1
sha/asm/keccak1600-armv4.pl: optimize for Thumb-2.

Reduce per-round instruction count in Thumb-2 case by 16%. This is
achieved by folding ldr/str pairs to their double-word counterparts.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/sha/asm/keccak1600-armv4.pl