MCPcopy Create free account
hub / github.com/egonelbre/exp / FieldElement8FromArray

Function FieldElement8FromArray

mldsa/simd_test.go:179–182  ·  view source on GitHub ↗
(x [8]FieldElement)

Source from the content-addressed store, hash-verified

177}
178
179func FieldElement8FromArray(x [8]FieldElement) FieldElement8 {
180 ptr := (*[8]uint32)(unsafe.Pointer(&x))
181 return simd.LoadUint32x8(ptr)
182}
183
184func Uint32x8FromArray(x [8]uint32) simd.Uint32x8 {
185 ptr := (*[8]uint32)(unsafe.Pointer(&x[0]))

Callers 4

BenchmarkFieldReduceOnceFunction · 0.85
BenchmarkFieldAddFunction · 0.85
BenchmarkFieldSubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected