]> Cypherpunks repositories - gostls13.git/commit
[dev.simd] cmd/compile, simd: added methods for "float" GetElem
authorDavid Chase <drchase@google.com>
Thu, 14 Aug 2025 21:26:15 +0000 (17:26 -0400)
committerDavid Chase <drchase@google.com>
Mon, 18 Aug 2025 20:12:27 +0000 (13:12 -0700)
commit9a934d5080ee103c43e92c35e213b97a92b8bd4a
tree99df36f37749f3a7e0dd674d9bd46002a8a2befe
parent7380213a4eca31fb0da3b164a129eb5fd699d796
[dev.simd] cmd/compile, simd: added methods for "float" GetElem

This also required a "always use operation with least
OverrideBase" filter in choosing the machine instructions.

The order of generated HW operations is slightly
modified because the Float version of GetElem
appears earlier in the sorted operations list,
though it is not chosen to generate the HW Op.

Change-Id: I95fa67afca9c8b6f4f18941fdcaf69afdad8055b
Reviewed-on: https://go-review.googlesource.com/c/go/+/696375
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.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/gen_simdMachineOps.go
src/simd/_gen/simdgen/godefs.go
src/simd/_gen/simdgen/ops/Moves/go.yaml
src/simd/ops_amd64.go