Skip to content
Snippets Groups Projects
user avatar
Nick Thompson authored
Modification of print_size to avoid use of divides and especially
long long divides. Keep the binary scale factor in terms of bit
shifts instead. This should be faster, since the previous code
gave the compiler no clues that the divides where always powers
of two, preventing optimisation.

Signed-off-by: default avatarNick Thompson <nick.thompson@ge.com>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
f2d76ae4
History
Name Last commit Last update
..