well-goknown/vendor/github.com/klauspost/compress/internal/cpuinfo/cpuinfo_amd64.go

12 lines
209 B
Go
Raw Normal View History

2024-09-26 01:59:44 +00:00
//go:build amd64 && !appengine && !noasm && gc
// +build amd64,!appengine,!noasm,gc
package cpuinfo
// go:noescape
func x86extensions() (bmi1, bmi2 bool)
func init() {
hasBMI1, hasBMI2 = x86extensions()
}