From: Srinivas Pokala Date: Fri, 14 Nov 2025 13:21:37 +0000 (+0100) Subject: math: switch s390x math.Pow to generic implementation X-Git-Tag: go1.26rc1~243 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=489d3dafb791df8297f71ecf4e2c3c84ea11f6f2;p=gostls13.git math: switch s390x math.Pow to generic implementation The s390x assembly implementation of math.Pow incorrectly handles certain subnormal cases. This change switches the function to use the generic implementation instead. Updates #76247 Cq-Include-Trybots: luci.golang.try:gotip-linux-s390x Change-Id: I794339080d5a7acf79bbffaeb0214809006fd30c Reviewed-on: https://go-review.googlesource.com/c/go/+/720540 Reviewed-by: Vishwanatha HD Reviewed-by: Michael Pratt Auto-Submit: Michael Pratt Reviewed-by: Kiran M Vijay IBM LUCI-TryBot-Result: Go LUCI Reviewed-by: Mark Freeman --- diff --git a/src/math/arith_s390x.go b/src/math/arith_s390x.go index 129156a9f6..2fda82fff4 100644 --- a/src/math/arith_s390x.go +++ b/src/math/arith_s390x.go @@ -129,7 +129,7 @@ func archExpm1(x float64) float64 func expm1TrampolineSetup(x float64) float64 func expm1Asm(x float64) float64 -const haveArchPow = true +const haveArchPow = false func archPow(x, y float64) float64 func powTrampolineSetup(x, y float64) float64