]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile, simd: add rewrite to convert logical expression trees into...
authorDavid Chase <drchase@google.com>
Thu, 9 Oct 2025 19:12:47 +0000 (15:12 -0400)
committerDavid Chase <drchase@google.com>
Fri, 24 Oct 2025 18:05:14 +0000 (11:05 -0700)
commitf6b47110952ea1c19cbdc040489c83f306c36e73
tree3908c2f5819808800047aa08e886857979f76ca2
parentcf7c1a4cbb917b6c5d80d1d9443a40cb7720db75
[dev.simd] cmd/compile, simd: add rewrite to convert logical expression trees into TERNLOG instructions

includes tests of both rewrite application and
rewrite correctness

Change-Id: I7983ccf87a8408af95bb6c447cb22f01beda9f61
Reviewed-on: https://go-review.googlesource.com/c/go/+/710697
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/compile/internal/ssa/compile.go
src/cmd/compile/internal/ssa/rewritetern.go [new file with mode: 0644]
src/cmd/compile/internal/ssa/tern_helpers.go [new file with mode: 0644]
src/simd/genfiles.go
src/simd/internal/simd_test/simd_test.go
test/simd.go