]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile: add and fix k register supports
authorJunyang Shao <shaojunyang@google.com>
Wed, 28 May 2025 17:00:59 +0000 (17:00 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 28 May 2025 17:44:36 +0000 (10:44 -0700)
commit11d2b28bffb82e0ad0bc102812bed86ce81a1959
tree5d682f7c7dda8ee86b75b0ffb5db2769de4e53f8
parent04b1030ae488851278257bac66ccf9925f1b87fb
[dev.simd] cmd/compile: add and fix k register supports

This CL marks the "mask" ssa type as a simd type. This will make the
last return of `simdMov` reachable and the spilling of K register
correct.

This CL also makes `simdReg` able to return K registers.

Change-Id: Ia66230d3e5425d9e8bdd0081b008e098382d3827
Reviewed-on: https://go-review.googlesource.com/c/go/+/676876
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/types/type.go