]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
[dev.simd] simd: add carryless multiply
authorDavid Chase <drchase@google.com>
Thu, 4 Dec 2025 22:51:04 +0000 (17:51 -0500)
committerDavid Chase <drchase@google.com>
Mon, 8 Dec 2025 15:41:17 +0000 (07:41 -0800)
commit3417b48b17d01cf170317d679aef10984cc1a4d0
tree5e418f4626691887490e2b54340b48c2dda0939c
parentf51ee08905b1d8645ae4ce69ccc7906241429816
[dev.simd] simd: add carryless multiply

now with comments, and also a test.

choice of data types, method names, etc, are all up for comment.
It's NOT commutative, because of the immediate operand (unless we
swap the bits of the immediate).

Change-Id: I730a6938c6803d0b93544445db65eadc51783e42
Reviewed-on: https://go-review.googlesource.com/c/go/+/726963
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
15 files changed:
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/GaloisField/categories.yaml
src/simd/_gen/simdgen/ops/GaloisField/go.yaml
src/simd/_gen/simdgen/types.yaml
src/simd/_gen/simdgen/xed.go
src/simd/cpu.go
src/simd/internal/simd_test/simd_test.go
src/simd/ops_internal_amd64.go
src/simd/shuffles_amd64.go