]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
simd/archsimd: correct documentation for pairwise operations
authorCherry Mui <cherryyz@google.com>
Mon, 22 Dec 2025 19:52:57 +0000 (14:52 -0500)
committerCherry Mui <cherryyz@google.com>
Mon, 22 Dec 2025 23:07:20 +0000 (15:07 -0800)
commitc1efada1d20a0f4af6ffc2be17706713af11b3b0
tree7c974de838021500d93e640a5378229e8e71ce72
parent3d77a0b15ea2a6d2f7b3e2ba483f148d7c6ee174
simd/archsimd: correct documentation for pairwise operations

For Add/SubPairs(Saturated?), the documented result element order
is wrong. Corrected.

Also, for 256-bit vectors, this is a grouped operation. So name it
with the Grouped suffix to be clear.

Change-Id: Idfd0975cb4a332b2e28c898613861205d26f75b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/732020
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@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/AddSub/categories.yaml
src/simd/archsimd/_gen/simdgen/ops/AddSub/go.yaml
src/simd/archsimd/internal/simd_test/simd_test.go
src/simd/archsimd/ops_amd64.go