Hello Niels,

On Wed, Jan 13, 2021 at 01:43:38PM +0100, Niels Möller wrote:

> > Attached is the new patch that unconditionally switches from vldm to 
> > vld1.32 but
> > keeps vstm in favour of vst1.8 on little-endian for stores.
> Thanks! Applied now.

Perfect! Incidentally: The other day I was migrating my big-endian
cubieboard from LibreSSL to OpenSSL. Afterwards I was wondering why
their assembly routines didn't fail as I remembered and had disabled for
LibreSSL. From a quick glance at the OpenSSL code, it seems they're
doing exactly the same thing using v{ld,st}1[1,2].

[1] 
https://github.com/openssl/openssl/blob/8bc5b0a570c8a2c9886a3cae9dea2016d510578d/crypto/chacha/asm/chacha-armv4.pl#L686
[2] 
https://github.com/openssl/openssl/blob/8bc5b0a570c8a2c9886a3cae9dea2016d510578d/crypto/chacha/asm/chacha-armv4.pl#L817
-- 
Thanks,
Michael
_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to