diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-05-10 14:47:09 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-20 14:20:29 +1000 |
commit | a00971e1946bf184c2f38e16123bdb3537602a9c (patch) | |
tree | 8a5417292102252daa31338076b4ff128e67838a /include/npu2-regs.h | |
parent | df6b7a2dadd72a519c6bdae95a89ead48b3e095b (diff) | |
download | skiboot-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