status-go/vendor/lukechampine.com/blake3/guts/cpu.go

12 lines
193 B
Go

//go:build !darwin
// +build !darwin
package guts
import "github.com/klauspost/cpuid/v2"
var (
haveAVX2 = cpuid.CPU.Supports(cpuid.AVX2)
haveAVX512 = cpuid.CPU.Supports(cpuid.AVX512F)
)