mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 12:16:38 +00:00
12 lines
209 B
Go
12 lines
209 B
Go
//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()
|
|
}
|