]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] simd/_gen/simdgen, cmd/compile: add memory op machine ops
authorJunyang Shao <shaojunyang@google.com>
Thu, 4 Sep 2025 18:20:59 +0000 (18:20 +0000)
committerJunyang Shao <shaojunyang@google.com>
Thu, 11 Sep 2025 19:08:53 +0000 (12:08 -0700)
commit5a0446d4498fb59853c81300ec387374a98f23bd
treeadcbefc2271c769550072d6aa6436a768e6d8bd6
parentc39b2fdd1ec86f68668141a0901d5f3fc634854e
[dev.simd] simd/_gen/simdgen, cmd/compile: add memory op machine ops

This CL adds the machine ops for memory-op and also their prog writing
logic.

This CL also fixes a bug in the XED parser. Previously the
merge of machine ops is not checking the CPU feature, so some AVX
instruction might have their "memFeatures" field set incorrectly.
However since that field is not used until this CL, putting the fix here
should be ok.

Change-Id: I91031cbbf63453257473dd1d2ff47f7496d1a01d
Reviewed-on: https://go-review.googlesource.com/c/go/+/701198
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/amd64/ssa.go
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
src/cmd/compile/internal/ssa/_gen/simdAMD64ops.go
src/cmd/compile/internal/ssa/opGen.go
src/simd/_gen/simdgen/gen_simdMachineOps.go
src/simd/_gen/simdgen/gen_simdssa.go
src/simd/_gen/simdgen/gen_utility.go
src/simd/_gen/simdgen/godefs.go
src/simd/_gen/simdgen/xed.go