x/crypto/sha3: re-introduce s390x assembly #64897
Labels
arch-s390x
Issues solely affecting the s390x architecture.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Performance
Milestone
The current s390x assembly hooks into the package in such a way that it disables devirtualization, and by extension inlining and successful escape analysis for every architecture.
Specifically, current functions look like
making the return type conditional, which doesn't work with devirtualization.
https://go.dev/cl/544816 disables the assembly (without removing it, to make re-enabling it easier and to preserve the git history), so that https://go.dev/cl/544817 can make the necessary changes so that the sha3 APIs can be used with zero allocations. (See the new TestAllocations.)
We plan to submit CL 544816 on January 8th, after the next x/crypto release is tagged (meaning the change will show up in
@latest
at the beginning of February). @golang/s390x maintainers are welcome to reintroduce it afterwards, or to chain a CL after CL 544817 to be submitted at the same time.The text was updated successfully, but these errors were encountered: