u-boot/lib
Nick Thompson f2d76ae4fd Avoid use of divides in print_size
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>
2010-05-17 23:23:39 +02:00
..
libfdt
lzma
lzo
addr_map.c
bzlib_crctable.c
bzlib_decompress.c
bzlib_huffman.c
bzlib_private.h
bzlib_randtable.c
bzlib.c
circbuf.c
crc16.c
crc32.c
ctype.c
display_options.c Avoid use of divides in print_size 2010-05-17 23:23:39 +02:00
div64.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
gunzip.c
ldiv.c
lmb.c
Makefile
md5.c
net_utils.c
rbtree.c
sha1.c
sha256.c
string.c
strmhz.c
time.c
vsprintf.c
zlib.c