summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAleksey Kuleshov <rndfax@yandex.ru>2015-11-25 15:23:22 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-26 09:36:34 +0100
commit114409c73e7d765dd5510b5a945b5e4c15ae4fa8 (patch)
tree0e4fe7f39f75408842ea0bd9b0638bbffdacf81b /arch/mips/Kconfig
parent6991f6ed5f669f816de9bec1d000fb12cf43687c (diff)
downloadbarebox-114409c73e7d765dd5510b5a945b5e4c15ae4fa8.tar.gz
barebox-114409c73e7d765dd5510b5a945b5e4c15ae4fa8.tar.xz
MIPS: import optimized string functions from Linux
10x performance gain according to simple test on QEMU malta: barebox:/ time memcpy 0xa0000000 0xa0001000 0x100000 Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Acked-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a2d443f94c..fdf62e8608 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -331,6 +331,14 @@ config NMON_HELP
Say yes here to get the nmon commands message on
every nmon start.
+config MIPS_OPTIMIZED_STRING_FUNCTIONS
+ bool "use assembler optimized string functions"
+ default y
+ help
+ Say yes here to use assembler optimized memcpy / memset functions.
+ These functions work much faster than the normal versions but
+ increase your binary size.
+
endmenu
source common/Kconfig