]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile, simd: add VPSADBW
authorJunyang Shao <shaojunyang@google.com>
Wed, 20 Aug 2025 18:42:52 +0000 (18:42 +0000)
committerJunyang Shao <shaojunyang@google.com>
Thu, 21 Aug 2025 17:01:46 +0000 (10:01 -0700)
commit58cfc2a5f63f60d092844034adcfa589fb878e02
tree0907e5bcdc61345452fe4c2dc7b24d3989d1fcd8
parentf7c6fa709e05830cad484422f04f2b123f54a3dc
[dev.simd] cmd/compile, simd: add VPSADBW

This new API is given the name SumAbsDiff, a slightly-longer name for
its canonical abbreviation SAD(Sum-Absolute-Differences).

This instruction has some similar semantic's one, but their semantic is much more
specific and complex: MPSADBW, VDBPSADBW. They should have a more
specific name given this fact.

Change-Id: Ied9144440f82919c3c2d45ae4ce5b961ae91a020
Reviewed-on: https://go-review.googlesource.com/c/go/+/697776
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/amd64/simdssa.go
src/cmd/compile/internal/ssa/_gen/simdAMD64.rules
src/cmd/compile/internal/ssa/_gen/simdAMD64ops.go
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/_gen/simdgen/ops/MLOps/categories.yaml
src/simd/_gen/simdgen/ops/MLOps/go.yaml
src/simd/ops_amd64.go