Fixup reverse bcopy

This commit is contained in:
jtc 1997-05-15 16:07:31 +00:00
parent 10a830a931
commit 042efd19d5
1 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bcopy.S,v 1.12 1997/05/13 19:27:22 jtc Exp $ */
/* $NetBSD: bcopy.S,v 1.13 1997/05/15 16:07:31 jtc Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -79,7 +79,7 @@
#if 0
RCSID("from: @(#)bcopy.s 5.1 (Berkeley) 5/12/90")
#else
RCSID("$NetBSD: bcopy.S,v 1.12 1997/05/13 19:27:22 jtc Exp $")
RCSID("$NetBSD: bcopy.S,v 1.13 1997/05/15 16:07:31 jtc Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@ -218,6 +218,7 @@ Lbcblong:
movel d1,d0
lsrl #2,d0 | cnt = len / 4
jeq Lbcbbyte | if (cnt)
subql #1,d0 | set up for dbf
Lbcblloop:
movl a0@-,a1@- | copy longwords
dbf d0,Lbcblloop | til done