Date: Fri, 12 Mar 2004 15:02:15 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48824 for review Message-ID: <200403122302.i2CN2Faw015683@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48824 Change 48824 by jmallett@jmallett_oingo on 2004/03/12 15:02:01 shuffle. Affected files ... .. //depot/projects/mips/sys/mips/mips/support.S#10 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/support.S#10 (text+ko) ==== @@ -45,12 +45,12 @@ ENTRY(bcopy) beqz a2, 2f nop -1: lbu t0, (a0) - addu a0, 1 - sb t0, (a1) - subu a2, 1 +1: dsubu a2, 1 + lbu t0, 0(a0) + daddu a0, 1 + sb t0, 0(a1) bnezl a2, 1b - addu a1, 1 + daddu a1, 1 2: jr ra nop END(bcopy) @@ -62,10 +62,10 @@ ENTRY(bzero) beqz a1, 2f nop -1: sb zero, (a0) - subu a1, 1 +1: dsubu a1, 1 + sb zero, 0(a0) bnezl a1, 1b - addu a0, 1 + daddu a0, 1 2: jr ra nop END(bzero) @@ -77,12 +77,12 @@ ENTRY(memcpy) beqz a2, 2f move v0, a0 -1: lbu t0, (a1) - addu a1, 1 - sb t0, (a0) - subu a2, 1 +1: dsubu a2, 1 + lbu t0, 0(a1) + daddu a1, 1 + sb t0, 0(a0) bnezl a2, 1b - addu a0, 1 + daddu a0, 1 2: jr ra nop END(memcpy)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403122302.i2CN2Faw015683>