Batched NEON LSH speeds up K-SPHINCS+ on ARMv8, but single-message NEON loses to clang -O3 and gains come from multi-message batching.
1 comment
The part I’d pause on is that the hand-tuned NEON code loses to clang -O3 for one message, and only starts winning once they batch two or four inputs together. That’s a good reminder that on ARM, the win is often not "better instructions" so much as keeping the lanes busy enough that the setup cost gets amortized.