diff --git a/ctz.go b/ctz.go index 002a5acf..19848110 100644 --- a/ctz.go +++ b/ctz.go @@ -2,10 +2,6 @@ package roaring -import ( - "github.com/klauspost/cpuid" -) - const deBruijn32 = 0x077CB531 var deBruijn32Lookup = []byte{ @@ -22,13 +18,6 @@ var deBruijn64Lookup = []byte{ 54, 26, 40, 15, 34, 20, 31, 10, 25, 14, 19, 9, 13, 8, 7, 6, } -var useSSE42 bool - -// Detect SSE 4.2 feature. -func init() { - useSSE42 = cpuid.CPU.SSE42() -} - // countTrailingZeros counts the number of zeros // from the least-significant bit up to the // first set (1) bit. if x is 0, 64 is returned.