Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/arm/string Switch to using ARM assembly...



details:   https://anonhg.NetBSD.org/src/rev/4c53aa08374d
branches:  trunk
changeset: 784250:4c53aa08374d
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jan 23 05:46:17 2013 +0000

description:
Switch to using ARM assembly versions of strcat, strchr, strrchr.

diffstat:

 common/lib/libc/arch/arm/string/strcat.S  |  7 +++++++
 common/lib/libc/arch/arm/string/strchr.S  |  7 +++++++
 common/lib/libc/arch/arm/string/strrchr.S |  7 +++++++
 3 files changed, 21 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r edf2bf78c7ed -r 4c53aa08374d common/lib/libc/arch/arm/string/strcat.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/common/lib/libc/arch/arm/string/strcat.S  Wed Jan 23 05:46:17 2013 +0000
@@ -0,0 +1,7 @@
+/* $NetBSD: strcat.S,v 1.1 2013/01/23 05:46:17 matt Exp $ */
+
+#if defined(_STANDALONE)
+#include "strcat_naive.S"
+#else
+#include "strcat_arm.S"
+#endif
diff -r edf2bf78c7ed -r 4c53aa08374d common/lib/libc/arch/arm/string/strchr.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/common/lib/libc/arch/arm/string/strchr.S  Wed Jan 23 05:46:17 2013 +0000
@@ -0,0 +1,7 @@
+/* $NetBSD: strchr.S,v 1.1 2013/01/23 05:46:17 matt Exp $ */
+
+#if defined(_STANDALONE)
+#include "strchr_naive.S"
+#else
+#include "strchr_arm.S"
+#endif
diff -r edf2bf78c7ed -r 4c53aa08374d common/lib/libc/arch/arm/string/strrchr.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/common/lib/libc/arch/arm/string/strrchr.S Wed Jan 23 05:46:17 2013 +0000
@@ -0,0 +1,7 @@
+/* $NetBSD: strrchr.S,v 1.1 2013/01/23 05:46:17 matt Exp $ */
+
+#if defined(_STANDALONE)
+#include "strrchr_naive.S"
+#else
+#include "strrchr_arm.S"
+#endif



Home | Main Index | Thread Index | Old Index