cpuinfo_amd64.go 209 B

1234567891011
  1. //go:build amd64 && !appengine && !noasm && gc
  2. // +build amd64,!appengine,!noasm,gc
  3. package cpuinfo
  4. // go:noescape
  5. func x86extensions() (bmi1, bmi2 bool)
  6. func init() {
  7. hasBMI1, hasBMI2 = x86extensions()
  8. }