Documentation
¶
Overview ¶
Package simd provides vectorized kernels for hot columnar loops, each with a portable pure-Go fallback selected at build time by architecture and, on amd64, at runtime by CPU feature. The assembly is generated by avo (internal/cmd/gensimd) and committed (*_amd64.s); the pure-Go path is the reference the assembly is fuzzed against, so results are bit-identical on every platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MinMaxInt64 ¶
MinMaxInt64 returns the minimum and maximum of s (and 0, 0 for an empty slice). On a CPU with AVX2 and a slice long enough to amortize the dispatch it uses the vector kernel, else the portable reference; both return identical results.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.