summaryrefslogtreecommitdiff
path: root/lib/libc/arch/mips/string/ffs.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/mips/string/ffs.S')
-rw-r--r--lib/libc/arch/mips/string/ffs.S11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/arch/mips/string/ffs.S b/lib/libc/arch/mips/string/ffs.S
index d84b9fedc40..56f947bfe46 100644
--- a/lib/libc/arch/mips/string/ffs.S
+++ b/lib/libc/arch/mips/string/ffs.S
@@ -1,3 +1,4 @@
+/* $OpenBSD: ffs.S,v 1.3 1996/07/30 20:27:55 pefo Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,24 +35,18 @@
* SUCH DAMAGE.
*/
-#if MACHINE==pica
#include <machine/asm.h>
-#else
-#include <machine/machAsmDefs.h>
-#endif
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)ffs.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$Id: ffs.S,v 1.2 1996/05/16 11:16:05 pefo Exp $")
+ ASMSTR("$Id: ffs.S,v 1.3 1996/07/30 20:27:55 pefo Exp $")
#endif /* LIBC_SCCS and not lint */
-#ifdef ABICALLS
- .abicalls
-#endif
/* bit = ffs(value) */
LEAF(ffs)
+ .set reorder
move v0, zero
beq a0, zero, done
1: