3 // Copyright 2018 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
15 func Len(n uint) int {
18 //arm:"CLZ" arm64:"CLZ"
23 func Len64(n uint64) int {
26 //arm:"CLZ" arm64:"CLZ"
31 func Len32(n uint32) int {
34 //arm:"CLZ" arm64:"CLZ"
39 func Len16(n uint16) int {
42 //arm:"CLZ" arm64:"CLZ"
47 func Len8(n uint8) int {
48 //amd64 Len8 not intrisified
50 //arm:"CLZ" arm64:"CLZ"