]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: improve PopCount's limits modeling and add bruteforce tests
authorJorropo <jorropo.pgm@gmail.com>
Sun, 7 Dec 2025 02:19:47 +0000 (03:19 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 23 Jan 2026 20:09:01 +0000 (12:09 -0800)
commitf35fb95503575f9a198c21b34db15ae5f354b635
treed677b37df9dc6739e19f5548a43b8cc998e07f5b
parent417d5e6627dbef2e6a309957b4f932eb91ce1e4d
cmd/compile: improve PopCount's limits modeling and add bruteforce tests

This make PopCount perfect within the limitations limits can represent.

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