github.com/coocood/badger@v1.5.1-0.20200528065104-c02ac3616d04/surf/bits_amd64.go (about) 1 // +build amd64 2 3 package surf 4 5 import "github.com/klauspost/cpuid" 6 7 var hasBMI2 = cpuid.CPU.BMI2() 8 9 // go:noescape 10 func select64(x uint64, k int64) int64