[dev.simd] cmd/compile: generated simd code to add some conversions

Generated by arch/internal/simdgen CL 689735

A small number of conversions for testing purposes

Change-Id: I4d52c643d08c02794c3fea9778bb1ecbb5507de4
Reviewed-on: https://go-review.googlesource.com/c/go/+/689716
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
David Chase 2025-07-22 15:02:45 -04:00
parent e62e377ed6
commit ec5c20ba5a
8 changed files with 518 additions and 0 deletions

View file

@ -225,6 +225,18 @@ func simdGenericOps() []opData {
{name: "CompressUint64x2", argLength: 2, commutative: false},
{name: "CompressUint64x4", argLength: 2, commutative: false},
{name: "CompressUint64x8", argLength: 2, commutative: false},
{name: "ConvertToInt32Float32x4", argLength: 1, commutative: false},
{name: "ConvertToInt32Float32x8", argLength: 1, commutative: false},
{name: "ConvertToInt32Float32x16", argLength: 1, commutative: false},
{name: "ConvertToInt32MaskedFloat32x4", argLength: 2, commutative: false},
{name: "ConvertToInt32MaskedFloat32x8", argLength: 2, commutative: false},
{name: "ConvertToInt32MaskedFloat32x16", argLength: 2, commutative: false},
{name: "ConvertToUint32Float32x4", argLength: 1, commutative: false},
{name: "ConvertToUint32Float32x8", argLength: 1, commutative: false},
{name: "ConvertToUint32Float32x16", argLength: 1, commutative: false},
{name: "ConvertToUint32MaskedFloat32x4", argLength: 2, commutative: false},
{name: "ConvertToUint32MaskedFloat32x8", argLength: 2, commutative: false},
{name: "ConvertToUint32MaskedFloat32x16", argLength: 2, commutative: false},
{name: "DivFloat32x4", argLength: 2, commutative: false},
{name: "DivFloat32x8", argLength: 2, commutative: false},
{name: "DivFloat32x16", argLength: 2, commutative: false},