Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/m68k/string Use the EXTBL macro where we want ...



details:   https://anonhg.NetBSD.org/src/rev/fdead655bf23
branches:  trunk
changeset: 510045:fdead655bf23
user:      fredette <fredette%NetBSD.org@localhost>
date:      Thu May 17 21:28:00 2001 +0000

description:
Use the EXTBL macro where we want the extbl instruction.
On the 68010 this expands to an extw/extl combination.

diffstat:

 lib/libc/arch/m68k/string/strcmp.S  |  6 +++---
 lib/libc/arch/m68k/string/strncmp.S |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 262a5a25be60 -r fdead655bf23 lib/libc/arch/m68k/string/strcmp.S
--- a/lib/libc/arch/m68k/string/strcmp.S        Thu May 17 21:26:06 2001 +0000
+++ b/lib/libc/arch/m68k/string/strcmp.S        Thu May 17 21:28:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strcmp.S,v 1.15 2000/11/28 15:23:09 is Exp $   */
+/*     $NetBSD: strcmp.S,v 1.16 2001/05/17 21:28:00 fredette Exp $     */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: strcmp.S,v 1.15 2000/11/28 15:23:09 is Exp $")
+       RCSID("$NetBSD: strcmp.S,v 1.16 2001/05/17 21:28:00 fredette Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 ENTRY(strcmp)
@@ -68,7 +68,7 @@
        jeq     L1
 
 L3:    scs     %d0
-       extbl   %d0
+       EXTBL(%d0)
        movb    %d1,%d0
        rts
 
diff -r 262a5a25be60 -r fdead655bf23 lib/libc/arch/m68k/string/strncmp.S
--- a/lib/libc/arch/m68k/string/strncmp.S       Thu May 17 21:26:06 2001 +0000
+++ b/lib/libc/arch/m68k/string/strncmp.S       Thu May 17 21:28:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strncmp.S,v 1.13 1999/10/27 09:10:27 is Exp $  */
+/*     $NetBSD: strncmp.S,v 1.14 2001/05/17 21:28:00 fredette Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: strncmp.S,v 1.13 1999/10/27 09:10:27 is Exp $")
+       RCSID("$NetBSD: strncmp.S,v 1.14 2001/05/17 21:28:00 fredette Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 ENTRY(strncmp)
@@ -80,6 +80,6 @@
 
 L2:    subb    %a1@,%d1
 L3:    scs     %d0
-       extbl   %d0
+       EXTBL(%d0)
        movb    %d1,%d0
        rts



Home | Main Index | Thread Index | Old Index