Forked from
Reform / reform-boundary-uboot
42005 commits behind the upstream repository.
-
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:
Nick Thompson <nick.thompson@ge.com> Acked-by:
Timur Tabi <timur@freescale.com>
Nick Thompson authoredModification 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:
Nick Thompson <nick.thompson@ge.com> Acked-by:
Timur Tabi <timur@freescale.com>