summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-04-16 12:43:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 09:03:55 -0400
commit675cf53c1deaffadc7b6a0b4afe6cdafec86bedb (patch)
treeecf7d3a546cdc560b5946b73b6163a5a20b500fc /include/linux/kernel.h
parentcdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc (diff)
downloadlinux-stable-675cf53c1deaffadc7b6a0b4afe6cdafec86bedb.tar.gz
linux-stable-675cf53c1deaffadc7b6a0b4afe6cdafec86bedb.tar.bz2
linux-stable-675cf53c1deaffadc7b6a0b4afe6cdafec86bedb.zip
lib/vsprintf.c: improve put_dec_trunc8 slightly
I hadn't had enough coffee when I wrote this. Currently, the final increment of buf depends on the value loaded from the table, and causes gcc to emit a cmov immediately before the return. It is smarter to let it depend on r, since the increment can then be computed in parallel with the final load/store pair. It also shaves 16 bytes of .text. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Tejun Heo <tj@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions