]> Cypherpunks repositories - gostls13.git/commit
simd/archsimd: rename Broadcast methods
authorCherry Mui <cherryyz@google.com>
Thu, 8 Jan 2026 16:57:28 +0000 (11:57 -0500)
committerJunyang Shao <shaojunyang@google.com>
Thu, 8 Jan 2026 17:44:00 +0000 (09:44 -0800)
commit8ac4477d83672af8c3d39399685731ee6b81ce2f
tree961ce0a2f55308fe144dca622f5f73e3d2115123
parent5facb3b24b1c388176572eb95239f94d6ed4017d
simd/archsimd: rename Broadcast methods

Currently the Broadcast128/256/512 methods broadcast the lowest
element of the input vector to a vector of the corresponding width.
There are also variations of broadcast operations that broadcast
the whole (128- or 256-bit) vector to a larger vector, which we
don't yet support. Our current naming is unclear which version it
is, though. Rename the current ones to Broadcast1ToN, to be clear
that they broadcast one element. The vector version probably will
be named BoradcastAllToN (not included in this CL).

Change-Id: I47a21e367f948ec0b578d63706a40d20f5a9f46d
Reviewed-on: https://go-review.googlesource.com/c/go/+/734840
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/compile/internal/amd64/simdssa.go
src/cmd/compile/internal/ssa/_gen/simdAMD64.rules
src/cmd/compile/internal/ssa/_gen/simdgenericOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssagen/simdintrinsics.go
src/simd/archsimd/_gen/simdgen/ops/Moves/categories.yaml
src/simd/archsimd/_gen/simdgen/ops/Moves/go.yaml
src/simd/archsimd/_gen/tmplgen/main.go
src/simd/archsimd/ops_amd64.go
src/simd/archsimd/other_gen_amd64.go