]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile: support simd(imm,fp) returns gp
authorDavid Chase <drchase@google.com>
Tue, 24 Jun 2025 20:26:47 +0000 (16:26 -0400)
committerDavid Chase <drchase@google.com>
Thu, 26 Jun 2025 12:22:45 +0000 (05:22 -0700)
commit0d8cb89f5c5acd69c6c9fc600c251cf880010e2d
tree15c5684524573fb89c2bfcaa2f6940b455445db7
parentf4a7c124ccd96667948539bd1132bca3ea6ba843
[dev.simd] cmd/compile: support simd(imm,fp) returns gp

These changes are required to make gp-returning simd
ops work.  amd64/ssa.go includes a new code generator
helper, gc/main.go initializes intrinsics AFTER
the types, ssa/_gen/*AMD64.go add another register
shape to the simd ops function.

This CL should be submitted after simdgen CL 683858
which generated some of the changes.

Change-Id: I0af752ba8882fa131b875ff9c741ef70afbc60d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/683816
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
src/cmd/compile/internal/ssa/_gen/simdAMD64ops.go
src/simd/stubs_amd64.go