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 orrne wants 3 registers



details:   https://anonhg.NetBSD.org/src/rev/f5edb4afe53f
branches:  trunk
changeset: 784711:f5edb4afe53f
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 07 01:20:29 2013 +0000

description:
orrne wants 3 registers

diffstat:

 common/lib/libc/arch/arm/string/strchr_arm.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r e0dd76c5ba29 -r f5edb4afe53f common/lib/libc/arch/arm/string/strchr_arm.S
--- a/common/lib/libc/arch/arm/string/strchr_arm.S      Thu Feb 07 01:07:41 2013 +0000
+++ b/common/lib/libc/arch/arm/string/strchr_arm.S      Thu Feb 07 01:20:29 2013 +0000
@@ -29,7 +29,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: strchr_arm.S,v 1.3 2013/01/26 07:49:11 matt Exp $")
+RCSID("$NetBSD: strchr_arm.S,v 1.4 2013/02/07 01:20:29 matt Exp $")
 
 #ifdef __ARMEL__
 #define        BYTE0   0x000000ff
@@ -95,8 +95,8 @@
        bics    r3, r3, ip              /* clear match for the NUL(s) */
        beq     .Lnomatch               /*   any left set? if not, no match */
        movs    ip, ip, lshi #8         /* replicate NUL bit to other bytes */
-       orrne   ip, ip, lshi #8         /* replicate NUL bit to other bytes */
-       orrne   ip, ip, lshi #8         /* replicate NUL bit to other bytes */
+       orrne   ip, ip, ip, lshi #8     /* replicate NUL bit to other bytes */
+       orrne   ip, ip, ip, lshi #8     /* replicate NUL bit to other bytes */
        bics    r3, r3, ip              /* clear any match bits after the NUL */
        beq     .Lnomatch               /*   any left set? if not, no match */
 .Lfind_match:



Home | Main Index | Thread Index | Old Index