diff --git a/sys/lib/libkern/arch/m68k/strcmp.S b/sys/lib/libkern/arch/m68k/strcmp.S index cd97fddba734..8a7d17443e7e 100644 --- a/sys/lib/libkern/arch/m68k/strcmp.S +++ b/sys/lib/libkern/arch/m68k/strcmp.S @@ -1,4 +1,4 @@ -/* $NetBSD: strcmp.S,v 1.7 2000/11/28 15:26:34 is Exp $ */ +/* $NetBSD: strcmp.S,v 1.8 2001/05/16 03:14:12 fredette Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) - RCSID("$NetBSD: strcmp.S,v 1.7 2000/11/28 15:26:34 is Exp $") + RCSID("$NetBSD: strcmp.S,v 1.8 2001/05/16 03:14:12 fredette Exp $") #endif /* LIBC_SCCS and not lint */ ENTRY(strcmp) @@ -68,7 +68,7 @@ L1: /* unrolled by 4 for 680[23]0's */ jeq L1 L3: scs %d0 - extbl %d0 + EXTBL(%d0) movb %d1,%d0 rts diff --git a/sys/lib/libkern/arch/m68k/strncmp.S b/sys/lib/libkern/arch/m68k/strncmp.S index 8ea6ff42d719..13e1e6a3cfa2 100644 --- a/sys/lib/libkern/arch/m68k/strncmp.S +++ b/sys/lib/libkern/arch/m68k/strncmp.S @@ -1,4 +1,4 @@ -/* $NetBSD: strncmp.S,v 1.6 1999/11/11 01:32:14 thorpej Exp $ */ +/* $NetBSD: strncmp.S,v 1.7 2001/05/16 03:14:12 fredette Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -40,7 +40,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) - RCSID("$NetBSD: strncmp.S,v 1.6 1999/11/11 01:32:14 thorpej Exp $") + RCSID("$NetBSD: strncmp.S,v 1.7 2001/05/16 03:14:12 fredette Exp $") #endif /* LIBC_SCCS and not lint */ ENTRY(strncmp) @@ -80,6 +80,6 @@ L4: rts L2: subb %a1@,%d1 L3: scs %d0 - extbl %d0 + EXTBL(%d0) movb %d1,%d0 rts