From ad9f21fd1f0d0a80e8b82e34215416664f99805d Mon Sep 17 00:00:00 2001 From: Harald Koerfgen Date: Sat, 19 Feb 2000 14:12:13 +0000 Subject: o default configuration for DECstations added o minor R3000 and DECstations related fixes --- include/asm-mips/string.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/asm-mips') diff --git a/include/asm-mips/string.h b/include/asm-mips/string.h index b152af535..d42e8e360 100644 --- a/include/asm-mips/string.h +++ b/include/asm-mips/string.h @@ -1,4 +1,4 @@ -/* $Id: string.h,v 1.11 1999/08/13 17:07:28 harald Exp $ +/* $Id: string.h,v 1.12 2000/02/16 01:07:48 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -100,8 +100,14 @@ strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count) ".set\tnoreorder\n\t" ".set\tnoat\n" "1:\tlbu\t%3,(%0)\n\t" +#if defined(CONFIG_CPU_R3000) + "lbu\t$1,(%1)\n\t" + "nop\n\t" + "beqz\t%2,2f\n\t" +#else "beqz\t%2,2f\n\t" "lbu\t$1,(%1)\n\t" +#endif "subu\t%2,1\n\t" "bne\t$1,%3,3f\n\t" "addiu\t%0,1\n\t" -- cgit v1.2.3