From bec90733b9de6e7d75b8bda19b3f0a7117e6b78d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 2 Sep 2004 14:39:38 +0000 Subject: Add a couple of mips-specific string funcs. Port the generic optimized string funcs from glibc, with some tweaks to cut their size a little. The main change is making memmove call memcpy for forward copying to trim redundant code. Make use of both the generic and arch-specific speed-optimized string funcs configurable. Arch-specific take precedence over generic, and generic takes precedence over basic size-optimized uClibc funcs. --- extra/Configs/Config.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 8d4d80760..4deed3026 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -525,6 +525,26 @@ endmenu menu "String and Stdio Support" +config UCLIBC_HAS_STRING_GENERIC_OPT + bool "Use glibc generic string functions" + default y + help + Answer Y to use the (tweaked) glibc generic string functions. + In general, they are faster (but 3-5K larger) than the base + uClibc string functions which are optimized solely for size. + + Many people will answer Y. + +config UCLIBC_HAS_STRING_ARCH_OPT + bool "Use arch-specific string functions" + default y + help + Answer Y to use the arch-specific string functions instead of the + base uClibc versions, which are optimized exclusively for size. + + Most people will answer Y, as this has been default behavior + for some time. + config UCLIBC_HAS_CTYPE_TABLES bool "Use Table Versions Of 'ctype.h' Functions." default y -- cgit v1.2.3