]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.simd] simd: remove FlattenedTranspose from exports
authorDavid Chase <drchase@google.com>
Wed, 12 Nov 2025 21:33:03 +0000 (16:33 -0500)
committerDavid Chase <drchase@google.com>
Tue, 18 Nov 2025 17:26:05 +0000 (09:26 -0800)
Change-Id: If20dc09aa9d84d5b87f16a510e6e8d7fb06114b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/719963
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Austin Clements <austin@google.com>
src/simd/shuffles_amd64.go

index c46a2d06fedac26027ea199cc05acc44e496a0fd..e0d9db9266e1e4992d9d31af190c0cb067b0c9f9 100644 (file)
@@ -6,14 +6,6 @@
 
 package simd
 
-// FlattenedTranspose tranposes x and y, regarded as a pair of 2x2
-// matrices, but then flattens the rows in order, i.e
-// x: ABCD ==> a: A1B2
-// y: 1234     b: C3D4
-func (x Int32x4) FlattenedTranspose(y Int32x4) (a, b Int32x4) {
-       return x.InterleaveLo(y), x.InterleaveHi(y)
-}
-
 // These constants represent the source pattern for the four parameters
 // (a, b, c, d) passed to SelectFromPair and SelectFromPairGrouped.
 // L means the element comes from the 'x' vector (Low), and