]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: modify float-to-[u]int so that amd64 and arm64 match
authorDavid Chase <drchase@google.com>
Mon, 21 Jul 2025 17:30:08 +0000 (13:30 -0400)
committerDavid Chase <drchase@google.com>
Thu, 9 Oct 2025 15:23:21 +0000 (08:23 -0700)
commit0e466a8d1d89e15e953c7d35bcd9e02d3c89f62b
tree27c6c393e0a357c8ecd9c62d9171dee1bd61714f
parent4837fbe4145cd47b43eed66fee9eed9c2b988316
cmd/compile: modify float-to-[u]int so that amd64 and arm64 match

Eventual goal is that all the architectures agree, and are
sensible.  The test will be build-tagged to exclude
not-yet-handled platforms.

This change also bisects the conversion change in case of bugs.
(`bisect -compile=convert ...`)

Change-Id: I98528666b0a3fde17cbe8d69b612d01da18dce85
Reviewed-on: https://go-review.googlesource.com/c/go/+/691135
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/base/debug.go
src/cmd/compile/internal/base/flag.go
src/cmd/compile/internal/base/hashdebug.go
src/cmd/compile/internal/ssa/_gen/AMD64.rules
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssagen/ssa.go
test/convert5.go [new file with mode: 0644]
test/convert5.out [new file with mode: 0644]