github.com/bir3/gocompiler@v0.9.2202/extra/compress/internal/cpuinfo/cpuinfo_amd64.go (about)

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