/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
rewrite_test.go | 9 // TestNlzNto tests nlz/nto of the same number which is used in some of 12 // construct the bit pattern 000...111, nlz(x) + nto(0) = 64 18 if got := nlz(x); got != 64-i { 19 t.Errorf("expected nlz(0x%X) = %d, got %d", x, 64-i, got) 38 // sinec bit 33 is set, nlz can be no greater than 31 43 if got := nlz(tx); got != nlzExp { 44 t.Errorf("expected nlz(0x%X) = %d, got %d", tx, nlzExp, got) 63 if got := nlz(tc.v); got != tc.exp { 64 t.Errorf("expected nlz(0x%X) = %d, got %d", tc.v, tc.exp, got) 91 }{{0, -1}, // nlz expects log2(0) == - [all...] |
rewrite.go | 281 // nlz returns the number of leading zeros. 282 func nlz(x int64) int64 { func 283 // log2(0) == 1, so nlz(0) == 64 289 return 64 - nlz(^x&(x-1)) 293 return nlz(x)+ntz(x) == 63 298 return nlz(^x)
|
rewritegeneric.go | [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
rewrite_test.go | 9 // TestNlzNto tests nlz/nto of the same number which is used in some of 12 // construct the bit pattern 000...111, nlz(x) + nto(0) = 64 18 if got := nlz(x); got != 64-i { 19 t.Errorf("expected nlz(0x%X) = %d, got %d", x, 64-i, got) 38 // sinec bit 33 is set, nlz can be no greater than 31 43 if got := nlz(tx); got != nlzExp { 44 t.Errorf("expected nlz(0x%X) = %d, got %d", tx, nlzExp, got) 63 if got := nlz(tc.v); got != tc.exp { 64 t.Errorf("expected nlz(0x%X) = %d, got %d", tc.v, tc.exp, got) 91 }{{0, -1}, // nlz expects log2(0) == - [all...] |
rewrite.go | 281 // nlz returns the number of leading zeros. 282 func nlz(x int64) int64 { func 283 // log2(0) == 1, so nlz(0) == 64 289 return 64 - nlz(^x&(x-1)) 293 return nlz(x)+ntz(x) == 63 298 return nlz(^x)
|
rewritegeneric.go | [all...] |
/external/vulkan-validation-layers/libs/glm/gtx/ |
integer.hpp | 97 GLM_FUNC_DECL uint nlz(uint x);
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtx/ |
integer.hpp | 97 GLM_FUNC_DECL uint nlz(uint x);
|
/prebuilts/go/darwin-x86/src/math/bits/ |
bits_test.go | 21 nlz := tab[i].nlz 26 want := nlz - k + (8 - 8) 37 want := nlz - k + (16 - 8) 48 want := nlz - k + (32 - 8) 65 want := nlz - k + (64 - 8) 657 len := 8 - tab[i].nlz 711 nlz, ntz, pop int 720 // nlz 727 tab[i].nlz = [all...] |
/prebuilts/go/linux-x86/src/math/bits/ |
bits_test.go | 21 nlz := tab[i].nlz 26 want := nlz - k + (8 - 8) 37 want := nlz - k + (16 - 8) 48 want := nlz - k + (32 - 8) 65 want := nlz - k + (64 - 8) 657 len := 8 - tab[i].nlz 711 nlz, ntz, pop int 720 // nlz 727 tab[i].nlz = [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
arith.go | 79 // nlz returns the number of leading zeros in x. 81 func nlz(x Word) uint { func 92 s := nlz(v)
|
nat_test.go | 212 if int(nlz(x)) != i { 213 t.Errorf("failed at %x: got %d want %d", x, nlz(x), i)
|
nat.go | 639 shift := nlz(v[n-1]) 979 shift := nlz(v) + 1
|
float.go | 570 s := nlz(m[len(m)-1]) 574 panic("nlz or shlVU incorrect") [all...] |
int.go | 560 h := nlz(A.abs[n-1])
|
/prebuilts/go/linux-x86/src/math/big/ |
arith.go | 79 // nlz returns the number of leading zeros in x. 81 func nlz(x Word) uint { func 92 s := nlz(v)
|
nat_test.go | 212 if int(nlz(x)) != i { 213 t.Errorf("failed at %x: got %d want %d", x, nlz(x), i)
|
nat.go | 639 shift := nlz(v[n-1]) 979 shift := nlz(v) + 1
|
float.go | 570 s := nlz(m[len(m)-1]) 574 panic("nlz or shlVU incorrect") [all...] |
int.go | 560 h := nlz(A.abs[n-1])
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
typearith.h | 110 nlz(uint64_t x) function 141 s = nlz(v); 368 nlz(uint32_t x) 398 s = nlz(v);
|
/external/v8/src/ia32/ |
macro-assembler-ia32.cc | 2210 unsigned nlz = base::bits::CountLeadingZeros32(src); local 2237 unsigned nlz = base::bits::CountLeadingZeros64(src); local [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
softfloat64.go | 446 // s = nlz(v); v <<= s
|
/prebuilts/go/linux-x86/src/runtime/ |
softfloat64.go | 446 // s = nlz(v); v <<= s
|
/external/v8/src/x64/ |
macro-assembler-x64.cc | 2674 unsigned nlz = base::bits::CountLeadingZeros64(src); local [all...] |