[dev.simd] cmd/compile, simd: make bitwise logic ops available to all u?int vectors

This CL is generated by CL 692555.

Change-Id: I24e6de83e0408576f385a1c8e861b08c583f9098
Reviewed-on: https://go-review.googlesource.com/c/go/+/692356
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Junyang Shao 2025-08-01 19:13:13 +00:00
parent c2d775d401
commit 3f92aa1eca
7 changed files with 288 additions and 4 deletions

View file

@ -99,8 +99,10 @@ func simdGenericOps() []opData {
{name: "AddUint64x8", argLength: 2, commutative: true},
{name: "AndInt8x16", argLength: 2, commutative: true},
{name: "AndInt8x32", argLength: 2, commutative: true},
{name: "AndInt8x64", argLength: 2, commutative: true},
{name: "AndInt16x8", argLength: 2, commutative: true},
{name: "AndInt16x16", argLength: 2, commutative: true},
{name: "AndInt16x32", argLength: 2, commutative: true},
{name: "AndInt32x4", argLength: 2, commutative: true},
{name: "AndInt32x8", argLength: 2, commutative: true},
{name: "AndInt32x16", argLength: 2, commutative: true},
@ -121,8 +123,10 @@ func simdGenericOps() []opData {
{name: "AndMaskedUint64x8", argLength: 3, commutative: true},
{name: "AndNotInt8x16", argLength: 2, commutative: false},
{name: "AndNotInt8x32", argLength: 2, commutative: false},
{name: "AndNotInt8x64", argLength: 2, commutative: false},
{name: "AndNotInt16x8", argLength: 2, commutative: false},
{name: "AndNotInt16x16", argLength: 2, commutative: false},
{name: "AndNotInt16x32", argLength: 2, commutative: false},
{name: "AndNotInt32x4", argLength: 2, commutative: false},
{name: "AndNotInt32x8", argLength: 2, commutative: false},
{name: "AndNotInt32x16", argLength: 2, commutative: false},
@ -143,8 +147,10 @@ func simdGenericOps() []opData {
{name: "AndNotMaskedUint64x8", argLength: 3, commutative: false},
{name: "AndNotUint8x16", argLength: 2, commutative: false},
{name: "AndNotUint8x32", argLength: 2, commutative: false},
{name: "AndNotUint8x64", argLength: 2, commutative: false},
{name: "AndNotUint16x8", argLength: 2, commutative: false},
{name: "AndNotUint16x16", argLength: 2, commutative: false},
{name: "AndNotUint16x32", argLength: 2, commutative: false},
{name: "AndNotUint32x4", argLength: 2, commutative: false},
{name: "AndNotUint32x8", argLength: 2, commutative: false},
{name: "AndNotUint32x16", argLength: 2, commutative: false},
@ -153,8 +159,10 @@ func simdGenericOps() []opData {
{name: "AndNotUint64x8", argLength: 2, commutative: false},
{name: "AndUint8x16", argLength: 2, commutative: true},
{name: "AndUint8x32", argLength: 2, commutative: true},
{name: "AndUint8x64", argLength: 2, commutative: true},
{name: "AndUint16x8", argLength: 2, commutative: true},
{name: "AndUint16x16", argLength: 2, commutative: true},
{name: "AndUint16x32", argLength: 2, commutative: true},
{name: "AndUint32x4", argLength: 2, commutative: true},
{name: "AndUint32x8", argLength: 2, commutative: true},
{name: "AndUint32x16", argLength: 2, commutative: true},
@ -868,8 +876,10 @@ func simdGenericOps() []opData {
{name: "NotEqualUint64x8", argLength: 2, commutative: true},
{name: "OrInt8x16", argLength: 2, commutative: true},
{name: "OrInt8x32", argLength: 2, commutative: true},
{name: "OrInt8x64", argLength: 2, commutative: true},
{name: "OrInt16x8", argLength: 2, commutative: true},
{name: "OrInt16x16", argLength: 2, commutative: true},
{name: "OrInt16x32", argLength: 2, commutative: true},
{name: "OrInt32x4", argLength: 2, commutative: true},
{name: "OrInt32x8", argLength: 2, commutative: true},
{name: "OrInt32x16", argLength: 2, commutative: true},
@ -890,8 +900,10 @@ func simdGenericOps() []opData {
{name: "OrMaskedUint64x8", argLength: 3, commutative: true},
{name: "OrUint8x16", argLength: 2, commutative: true},
{name: "OrUint8x32", argLength: 2, commutative: true},
{name: "OrUint8x64", argLength: 2, commutative: true},
{name: "OrUint16x8", argLength: 2, commutative: true},
{name: "OrUint16x16", argLength: 2, commutative: true},
{name: "OrUint16x32", argLength: 2, commutative: true},
{name: "OrUint32x4", argLength: 2, commutative: true},
{name: "OrUint32x8", argLength: 2, commutative: true},
{name: "OrUint32x16", argLength: 2, commutative: true},
@ -1512,8 +1524,10 @@ func simdGenericOps() []opData {
{name: "UnsignedSignedQuadDotProdAccumulateMaskedInt32x16", argLength: 4, commutative: false},
{name: "XorInt8x16", argLength: 2, commutative: true},
{name: "XorInt8x32", argLength: 2, commutative: true},
{name: "XorInt8x64", argLength: 2, commutative: true},
{name: "XorInt16x8", argLength: 2, commutative: true},
{name: "XorInt16x16", argLength: 2, commutative: true},
{name: "XorInt16x32", argLength: 2, commutative: true},
{name: "XorInt32x4", argLength: 2, commutative: true},
{name: "XorInt32x8", argLength: 2, commutative: true},
{name: "XorInt32x16", argLength: 2, commutative: true},
@ -1534,8 +1548,10 @@ func simdGenericOps() []opData {
{name: "XorMaskedUint64x8", argLength: 3, commutative: true},
{name: "XorUint8x16", argLength: 2, commutative: true},
{name: "XorUint8x32", argLength: 2, commutative: true},
{name: "XorUint8x64", argLength: 2, commutative: true},
{name: "XorUint16x8", argLength: 2, commutative: true},
{name: "XorUint16x16", argLength: 2, commutative: true},
{name: "XorUint16x32", argLength: 2, commutative: true},
{name: "XorUint32x4", argLength: 2, commutative: true},
{name: "XorUint32x8", argLength: 2, commutative: true},
{name: "XorUint32x16", argLength: 2, commutative: true},