crypto/internal/nistec: p256_asm_s390x.s causes SIGFPE: floating-point exception on older s390 #58465
Labels
arch-s390x
Issues solely affecting the s390x architecture.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Bug was introduced by: d63865b
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?Older s390 before x13 did not have support for vx. Instructions like VL, etc. where added in x13.
I'm not sure if that is intentional and this requirement is just not documented. Otoh maybe it is ok to switch to the generic version when pu.S390X.HasVX is false.
Can be emulated with: qemu-s390x-static -cpu qemu,vx=off
What did you do?
Try a https request that uses this.
Local small reproducer with instructions on how to emulate: https://github.com/djoreilly/reprod-s390-go-bug
What did you expect to see?
No crash.
What did you see instead?
The text was updated successfully, but these errors were encountered: