aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-04-16 19:43:42 +0000
committerLinus Torvalds <[email protected]>2015-04-17 13:03:55 +0000
commit675cf53c1deaffadc7b6a0b4afe6cdafec86bedb (patch)
treeecf7d3a546cdc560b5946b73b6163a5a20b500fc /lib/bitmap.c
parenthwmon: (w83795) use find_closest_descending() in pwm_freq_to_reg() (diff)
downloadkernel-675cf53c1deaffadc7b6a0b4afe6cdafec86bedb.tar.gz
kernel-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 <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions