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 <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Ian Alexander 2025-10-27 12:32:23 -04:00
parent a6929cf4a7
commit d741483a1f

View file

@ -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 {