zephyr/lib/libc/minimal/source
Michael Hope 5d55730cf6 libc: minimal: add size optimized string functions
The current implementations of memcpy and memset are optimized for
performance and use a word based loop before the byte based loop.

Add a config option that skips the word based loop. This saves 120
bytes on the Cortex-M0+ which is worthwhile on small apps like a
bootloader.

Enable by default if SIZE_OPTIMIZATIONS is set.

Signed-off-by: Michael Hope <mlhx@google.com>
2021-07-06 07:40:38 -04:00
..
stdlib lib: add default labels and comments to switch statements 2021-06-04 16:22:23 -05:00
stdout libc: printf/..: match implementation to declaration 2021-03-29 07:52:42 -04:00
string libc: minimal: add size optimized string functions 2021-07-06 07:40:38 -04:00
time libc: gmtime_r: match implementation to declaration 2021-03-29 07:52:42 -04:00