Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:UINT_BITS
(Results
1 - 2
of
2
) sorted by relevance
/third_party/mesa3d/src/util/
H
A
D
fast_idiv_by_const.c
47
util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned
UINT_BITS
)
in util_compute_fast_udiv_info()
argument
50
assert(num_bits > 0 && num_bits <=
UINT_BITS
);
in util_compute_fast_udiv_info()
61
result.multiplier = 1ull << (
UINT_BITS
- div_shift);
in util_compute_fast_udiv_info()
69
result.multiplier = u_uintN_max(
UINT_BITS
);
in util_compute_fast_udiv_info()
77
/* The extra shift implicit in the difference between
UINT_BITS
and num_bits
in util_compute_fast_udiv_info()
79
const unsigned extra_shift =
UINT_BITS
- num_bits;
in util_compute_fast_udiv_info()
84
const uint64_t initial_power_of_2 = (uint64_t)1 << (
UINT_BITS
-1);
in util_compute_fast_udiv_info()
164
UINT_BITS
);
in util_compute_fast_udiv_info()
H
A
D
fast_idiv_by_const.h
75
* integer D.
UINT_BITS
is the bit size at which the final "magic"
78
* is known to be smaller than calc_bits; if this is not known then
UINT_BITS
81
* Assume we have a hardware register of width
UINT_BITS
, a known constant D
83
* (which may be up to
UINT_BITS
). To emit code for n/d, use one of the two
89
* emit("result = (m.multiplier * n) >>>
UINT_BITS
")
98
* emit("result >>>=
UINT_BITS
")
101
* This second version works even if D is 1. The shifts by
UINT_BITS
may be
105
* if n == (1 <<
UINT_BITS
)-1: result = n
127
util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned
UINT_BITS
);
Completed in 1 milliseconds