summaryrefslogtreecommitdiffstats
path: root/libc/string/sh/sh4/strncpy.S
Commit message (Collapse)AuthorAgeFilesLines
* sh: add assembly strcpy and strncpyGiuseppe Cavallaro2009-09-271-0/+43
This patch adds the strcpy and strncpy assembly routines. Benchmarks showed the following gains: ~7% for strcpy ~30% for strncpy Note: uClibc string tests pass without any failures. These functions have been only tested on SH4, for this reason I've voluntarily added them within the sh4 sub-folder. If somebody would like to test them on other SH CPUs, these can be moved on sh common folder. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>