Source File
unsafe_helpers.go
Belonging Package
simd/archsimd
// Code generated by 'go run genfiles.go'; DO NOT EDIT.//go:build goexperiment.simdpackage archsimdimport// paInt8x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt8x16( []int8) *[16]int8 {return (*[16]int8)(unsafe.Pointer(&[0]))}// paInt16x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt16x8( []int16) *[8]int16 {return (*[8]int16)(unsafe.Pointer(&[0]))}// paInt32x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt32x4( []int32) *[4]int32 {return (*[4]int32)(unsafe.Pointer(&[0]))}// paInt64x2 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt64x2( []int64) *[2]int64 {return (*[2]int64)(unsafe.Pointer(&[0]))}// paUint8x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint8x16( []uint8) *[16]uint8 {return (*[16]uint8)(unsafe.Pointer(&[0]))}// paUint16x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint16x8( []uint16) *[8]uint16 {return (*[8]uint16)(unsafe.Pointer(&[0]))}// paUint32x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint32x4( []uint32) *[4]uint32 {return (*[4]uint32)(unsafe.Pointer(&[0]))}// paUint64x2 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint64x2( []uint64) *[2]uint64 {return (*[2]uint64)(unsafe.Pointer(&[0]))}// paFloat32x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat32x4( []float32) *[4]float32 {return (*[4]float32)(unsafe.Pointer(&[0]))}// paFloat64x2 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat64x2( []float64) *[2]float64 {return (*[2]float64)(unsafe.Pointer(&[0]))}// paInt8x32 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt8x32( []int8) *[32]int8 {return (*[32]int8)(unsafe.Pointer(&[0]))}// paInt16x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt16x16( []int16) *[16]int16 {return (*[16]int16)(unsafe.Pointer(&[0]))}// paInt32x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt32x8( []int32) *[8]int32 {return (*[8]int32)(unsafe.Pointer(&[0]))}// paInt64x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt64x4( []int64) *[4]int64 {return (*[4]int64)(unsafe.Pointer(&[0]))}// paUint8x32 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint8x32( []uint8) *[32]uint8 {return (*[32]uint8)(unsafe.Pointer(&[0]))}// paUint16x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint16x16( []uint16) *[16]uint16 {return (*[16]uint16)(unsafe.Pointer(&[0]))}// paUint32x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint32x8( []uint32) *[8]uint32 {return (*[8]uint32)(unsafe.Pointer(&[0]))}// paUint64x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint64x4( []uint64) *[4]uint64 {return (*[4]uint64)(unsafe.Pointer(&[0]))}// paFloat32x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat32x8( []float32) *[8]float32 {return (*[8]float32)(unsafe.Pointer(&[0]))}// paFloat64x4 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat64x4( []float64) *[4]float64 {return (*[4]float64)(unsafe.Pointer(&[0]))}// paInt8x64 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt8x64( []int8) *[64]int8 {return (*[64]int8)(unsafe.Pointer(&[0]))}// paInt16x32 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt16x32( []int16) *[32]int16 {return (*[32]int16)(unsafe.Pointer(&[0]))}// paInt32x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt32x16( []int32) *[16]int32 {return (*[16]int32)(unsafe.Pointer(&[0]))}// paInt64x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paInt64x8( []int64) *[8]int64 {return (*[8]int64)(unsafe.Pointer(&[0]))}// paUint8x64 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint8x64( []uint8) *[64]uint8 {return (*[64]uint8)(unsafe.Pointer(&[0]))}// paUint16x32 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint16x32( []uint16) *[32]uint16 {return (*[32]uint16)(unsafe.Pointer(&[0]))}// paUint32x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint32x16( []uint32) *[16]uint32 {return (*[16]uint32)(unsafe.Pointer(&[0]))}// paUint64x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paUint64x8( []uint64) *[8]uint64 {return (*[8]uint64)(unsafe.Pointer(&[0]))}// paFloat32x16 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat32x16( []float32) *[16]float32 {return (*[16]float32)(unsafe.Pointer(&[0]))}// paFloat64x8 returns a type-unsafe pointer to array that can// only be used with partial load/store operations that only// access the known-safe portions of the array.func paFloat64x8( []float64) *[8]float64 {return (*[8]float64)(unsafe.Pointer(&[0]))}
![]() |
The pages are generated with Golds v0.8.3-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |