File size: 1,664 Bytes
e36aeda | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | // Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build goexperiment.simd && amd64
// This exposes some internal interfaces to simd_test.
package archsimd
func (x Int64x2) ExportTestConcatSelectedConstant(indices uint8, y Int64x2) Int64x2 {
return x.concatSelectedConstant(indices, y)
}
func (x Float64x4) ExportTestConcatSelectedConstantGrouped(indices uint8, y Float64x4) Float64x4 {
return x.concatSelectedConstantGrouped(indices, y)
}
func (x Float32x4) ExportTestConcatSelectedConstant(indices uint8, y Float32x4) Float32x4 {
return x.concatSelectedConstant(indices, y)
}
func (x Int32x4) ExportTestConcatSelectedConstant(indices uint8, y Int32x4) Int32x4 {
return x.concatSelectedConstant(indices, y)
}
func (x Uint32x8) ExportTestConcatSelectedConstantGrouped(indices uint8, y Uint32x8) Uint32x8 {
return x.concatSelectedConstantGrouped(indices, y)
}
func (x Int32x8) ExportTestConcatSelectedConstantGrouped(indices uint8, y Int32x8) Int32x8 {
return x.concatSelectedConstantGrouped(indices, y)
}
func (x Int32x8) ExportTestTern(table uint8, y Int32x8, z Int32x8) Int32x8 {
return x.tern(table, y, z)
}
func (x Int32x4) ExportTestTern(table uint8, y Int32x4, z Int32x4) Int32x4 {
return x.tern(table, y, z)
}
func ExportTestCscImm4(a, b, c, d uint8) uint8 {
return cscimm4(a, b, c, d)
}
const (
LLLL = _LLLL
HLLL = _HLLL
LHLL = _LHLL
HHLL = _HHLL
LLHL = _LLHL
HLHL = _HLHL
LHHL = _LHHL
HHHL = _HHHL
LLLH = _LLLH
HLLH = _HLLH
LHLH = _LHLH
HHLH = _HHLH
LLHH = _LLHH
HLHH = _HLHH
LHHH = _LHHH
HHHH = _HHHH
)
|