]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: increase stmt threshold on amd64
authorIan Alexander <jitsu@google.com>
Mon, 27 Oct 2025 16:32:23 +0000 (12:32 -0400)
committerIan Alexander <jitsu@google.com>
Mon, 27 Oct 2025 20:28:47 +0000 (13:28 -0700)
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>

src/cmd/compile/internal/ssa/stmtlines_test.go

index d0f09da86ffce2b36b8cba4fc5b3c5f88d400fa0..b55ac2b3f4ecef4b7db425d0c1c36843c4d572e5 100644 (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 {