aboutsummaryrefslogtreecommitdiff
path: root/include/npu2-regs.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-05-10 14:47:09 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-05-20 14:20:29 +1000
commita00971e1946bf184c2f38e16123bdb3537602a9c (patch)
tree8a5417292102252daa31338076b4ff128e67838a /include/npu2-regs.h
parentdf6b7a2dadd72a519c6bdae95a89ead48b3e095b (diff)
downloadskiboot-a00971e1946bf184c2f38e16123bdb3537602a9c.zip
skiboot-a00971e1946bf184c2f38e16123bdb3537602a9c.tar.gz
skiboot-a00971e1946bf184c2f38e16123bdb3537602a9c.tar.bz2
libc/string: speed up common string functions
Use compiler builtins for the string functions, and compile the libc/string/ directory with -O2. This reduces instructions booting skiboot in mambo by 2.9 million in slow-sim mode, or 3.8 in normal mode, for less than 1kB image size increase. This can result in the compiler warning more cases of string function problems. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
0 files changed, 0 insertions, 0 deletions