From: Ian Alexander Date: Mon, 27 Oct 2025 16:32:23 +0000 (-0400) Subject: cmd/go: increase stmt threshold on amd64 X-Git-Tag: go1.26rc1~465 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d741483a1f;p=gostls13.git cmd/go: increase stmt threshold on amd64 This change slightly increases the stmt threshold on the amd64 platform. Change-Id: I87e39753b52d6d72f2cd77f1cb8015b1e550921a Reviewed-on: https://go-review.googlesource.com/c/go/+/715340 Reviewed-by: David Chase LUCI-TryBot-Result: Go LUCI --- diff --git a/src/cmd/compile/internal/ssa/stmtlines_test.go b/src/cmd/compile/internal/ssa/stmtlines_test.go index d0f09da86f..b55ac2b3f4 100644 --- a/src/cmd/compile/internal/ssa/stmtlines_test.go +++ b/src/cmd/compile/internal/ssa/stmtlines_test.go @@ -139,7 +139,7 @@ func TestStmtLines(t *testing.T) { var m float64 if runtime.GOARCH == "amd64" { - m = 0.011 // > 98.9% obtained on amd64, no backsliding + m = 0.0111 // > 98.89% obtained on amd64, no backsliding } else if runtime.GOARCH == "riscv64" { m = 0.03 // XXX temporary update threshold to 97% for regabi } else {