summaryrefslogtreecommitdiff
path: root/scripts/conmakehash.c
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2012-10-05 04:12:29 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 22:04:48 +0400
commit2359172a75986359ce9cf041a9aca6a32cdf8779 (patch)
treebc5a80e6153d9c3cf749b7ec4f79874d8b321fe7 /scripts/conmakehash.c
parente49317d415f5a44bad8377a208d61902d752303e (diff)
downloadlinux-2359172a75986359ce9cf041a9aca6a32cdf8779.tar.xz
lib: vsprintf: optimize division by 10000
The same multiply-by-inverse technique can be used to convert division by 10000 to a 32x32->64-bit multiply. Signed-off-by: George Spelvin <linux@horizon.com> Cc: Denys Vlasenko <vda.linux@googlemail.com> Cc: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/conmakehash.c')
0 files changed, 0 insertions, 0 deletions