---------- Forwarded message --------- From: Maamoun TK maamoun.tk@googlemail.com Date: Sat, Jul 17, 2021 at 2:00 PM Subject: Re: [S390x] Optimize GHASH To: Niels Möller nisse@lysator.liu.se
On Sat, Jul 17, 2021 at 1:37 PM Niels Möller nisse@lysator.liu.se wrote:
Maamoun TK maamoun.tk@googlemail.com writes:
In another topic, I've optimized the SHA-512 algorithm for arm64 architecture but it turned out all CFarm variants don't support SHA-512 crypto extension so I can't do any performance or correctness testing for now. Do you know any CFarm alternative that supports SHA-512 and SHA3 extensions for arm64 architectures?
Can you do correctness tests on qemu? (I've been using a crosscompiler and qemu-user to test other ARM code, and that's also what the ci tests do).
Sure, but I'm also concerned about the performance testing. I was always trying to get the best performance out of hardware-accelerated cores.
I have access to the systems listed on https://gmplib.org/devel/testsystems, is any of those applicable? The arm64 machines available includes one Cortex-A73 and one Apple M1.
Cortex-A73 doesn't support SHA-512 and SHA3 List of ARM microarchitectures - Wikipedia https://en.wikipedia.org/wiki/List_of_ARM_microarchitectures Cortex-A75 is the minimum architecture that has a full implementation of ARMv8.2-A which is the arch that introduced SHA-512 and SHA3 AArch64 Options (Using the GNU Compiler Collection (GCC)) https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html Cortex-A55 should support those extensions according to the list.