From: David Chase Date: Wed, 12 Nov 2025 21:33:03 +0000 (-0500) Subject: [dev.simd] simd: remove FlattenedTranspose from exports X-Git-Tag: go1.26rc1~147^2~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4004ff3523f03a6e42e60e47b41d8954dfa3a001;p=gostls13.git [dev.simd] simd: remove FlattenedTranspose from exports Change-Id: If20dc09aa9d84d5b87f16a510e6e8d7fb06114b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/719963 LUCI-TryBot-Result: Go LUCI Reviewed-by: Austin Clements --- diff --git a/src/simd/shuffles_amd64.go b/src/simd/shuffles_amd64.go index c46a2d06fe..e0d9db9266 100644 --- a/src/simd/shuffles_amd64.go +++ b/src/simd/shuffles_amd64.go @@ -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