summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 05:55:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 05:55:26 +0000
commit8b1d114f80ae00cd5372dda957a234f921dfdda3 (patch)
tree5cfe5aa05e97f647e0934d39cfdc85bdf8905c2e /lib/libc/arch/hppa
parentcf645703d6923d53f2f2aea9434918986ba7662a (diff)
set ret for mem*, no mycopy, better reverse copy check
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r--lib/libc/arch/hppa/string/bcopy.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/arch/hppa/string/bcopy.m4 b/lib/libc/arch/hppa/string/bcopy.m4
index 0c9fd0b1568..4c42d1b6c48 100644
--- a/lib/libc/arch/hppa/string/bcopy.m4
+++ b/lib/libc/arch/hppa/string/bcopy.m4
@@ -1,4 +1,4 @@
-define(_rcsid,``$OpenBSD: bcopy.m4,v 1.6 2002/02/07 13:52:40 mickey Exp $'')dnl
+define(_rcsid,``$OpenBSD: bcopy.m4,v 1.7 2002/03/08 05:55:25 mickey Exp $'')dnl
dnl
dnl
dnl This is the source file for bcopy.S, spcopy.S
@@ -210,12 +210,10 @@ ALTENTRY(memmove)
copy arg0, t1
copy arg1, arg0
copy t1, arg1
+ copy arg0, ret0
ALTENTRY(ovbcopy)
ALTENTRY(bcopy)
-ALTENTRY(mycopy)
- add arg0, arg2, t1
- sub,>>= arg0, arg1, r0
- comb,>,n t1, arg1, L(bcopy, reverse)
+ comb,>,n arg0, arg1, L(bcopy, reverse)
hppa_copy(bcopy_f, sr0, arg0, sr0, arg1, arg2, `+')
b,n L(bcopy, ret)
L(bcopy, reverse)