[Skiboot] [PATCH v2] libc/string: speed up common string functions
stewart at linux.ibm.com
Tue May 21 13:16:04 AEST 2019
Nicholas Piggin <npiggin at gmail.com> writes:
> 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
> This can result in the compiler warning more cases of string function
Looks like it even found a bug with DEBUG=1 builds around the xive code,
so that's good!
Merged to master as of a00971e1946bf184c2f38e16123bdb3537602a9c
OPAL Architect, IBM.
More information about the Skiboot