]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: improve Ctz's limits modeling and add bruteforce tests
authorJorropo <jorropo.pgm@gmail.com>
Sun, 7 Dec 2025 02:01:17 +0000 (03:01 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 23 Jan 2026 20:08:53 +0000 (12:08 -0800)
commita4fda8d32ac30b787cf2c648daed7f8fe5ef859d
treefc7e43571b820796d163a34fb7560e799ccff8f3
parent82ef9f5b2130cb4cc88c52c68b7bd45764ab2200
cmd/compile: improve Ctz's limits modeling and add bruteforce tests

This make Ctz perfect within the limitations limits can represent.

Change-Id: I1e596d8d01892d1b70031cf03cecc487ce147b38
Reviewed-on: https://go-review.googlesource.com/c/go/+/727780
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
src/cmd/compile/internal/ssa/prove.go
src/cmd/compile/internal/ssa/prove_test.go