sync with libc source: remove DEFS.h
This commit is contained in:
parent
fa80fdb243
commit
87e006459e
|
@ -1,43 +0,0 @@
|
|||
/* $NetBSD: DEFS.h,v 1.2 1994/10/26 06:39:51 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* This software was developed by the Computer Systems Engineering group
|
||||
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
|
||||
* contributed to Berkeley.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)DEFS.h 8.1 (Berkeley) 6/4/93
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: SYS.h,v 1.2 1994/10/26 06:39:53 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -38,7 +36,8 @@
|
|||
*
|
||||
* @(#)SYS.h 8.1 (Berkeley) 6/4/93
|
||||
*
|
||||
* Header: SYS.h,v 1.2 92/07/03 18:57:00 torek Exp
|
||||
* from: Header: SYS.h,v 1.2 92/07/03 18:57:00 torek Exp
|
||||
* $Id: SYS.h,v 1.3 1996/11/18 22:50:28 pk Exp $
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
@ -88,4 +87,23 @@
|
|||
ENTRY(x); mov (_CAT(SYS_,y))|SYSCALL_G2RFLAG,%g1; add %o7,8,%g2; \
|
||||
t ST_SYSCALL; ERROR()
|
||||
|
||||
/*
|
||||
* SYSCALL_NOERROR is like SYSCALL, except it's used for syscalls
|
||||
* that never fail.
|
||||
*
|
||||
* XXX - This should be optimized.
|
||||
*/
|
||||
#define SYSCALL_NOERROR(x) \
|
||||
ENTRY(x); mov _CAT(SYS_,x),%g1; t ST_SYSCALL
|
||||
|
||||
/*
|
||||
* RSYSCALL_NOERROR is like RSYSCALL, except it's used for syscalls
|
||||
* that never fail.
|
||||
*
|
||||
* XXX - This should be optimized.
|
||||
*/
|
||||
#define RSYSCALL_NOERROR(x) \
|
||||
ENTRY(x); mov (_CAT(SYS_,x))|SYSCALL_G2RFLAG,%g1; add %o7,8,%g2; \
|
||||
t ST_SYSCALL
|
||||
|
||||
.globl cerror
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: _setjmp.S,v 1.2 1994/10/26 06:39:54 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,14 +34,12 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: _setjmp.s,v 1.1 91/07/06 16:45:53 torek Exp
|
||||
* from: Header: _setjmp.s,v 1.1 91/07/06 16:45:53 torek Exp
|
||||
* $Id: _setjmp.S,v 1.3 1996/11/18 22:50:29 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)_setjmp.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: _setjmp.S,v 1.2 1994/10/26 06:39:54 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
@ -57,11 +53,12 @@
|
|||
* The previous signal state is NOT restored.
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(_setjmp)
|
||||
std %sp, [%o0+0] /* caller's stack pointer and return pc */
|
||||
st %fp, [%o0+8] /* store caller's frame pointer */
|
||||
st %sp, [%o0+0] /* store caller's stack pointer */
|
||||
st %o7, [%o0+4] /* ... return pc */
|
||||
st %fp, [%o0+8] /* ... and frame pointer */
|
||||
retl
|
||||
clr %o0 ! return 0
|
||||
|
||||
|
@ -77,7 +74,7 @@ ENTRY(_longjmp)
|
|||
bl,a 1b ! if below,
|
||||
restore ! pop frame and loop
|
||||
be,a 2f ! if there,
|
||||
ldd [%g1+0], %o2 ! fetch return %sp and pc, and get out
|
||||
ld [%g1+0], %o2 ! fetch return %sp
|
||||
|
||||
Lbotch:
|
||||
call _longjmperror ! otherwise, went too far; bomb out
|
||||
|
@ -90,5 +87,6 @@ Lbotch:
|
|||
mov %o2, %sp ! it is OK, put it in place
|
||||
b,a Lbotch
|
||||
3:
|
||||
ld [%g1+4], %o3 ! fetch pc
|
||||
jmp %o3 + 8 ! success, return %g6
|
||||
mov %g6, %o0
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: bzero.S,v 1.2 1994/10/26 06:39:54 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,17 +34,15 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: bzero.s,v 1.1 92/06/25 12:52:46 torek Exp
|
||||
* from: Header: bzero.s,v 1.1 92/06/25 12:52:46 torek Exp
|
||||
* $Id: bzero.S,v 1.3 1996/11/18 22:50:30 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)bzero.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: bzero.S,v 1.2 1994/10/26 06:39:54 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
/*
|
||||
* bzero(addr, len)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: divrem.m4,v 1.3 1995/04/22 09:37:39 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,7 +34,8 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: divrem.m4,v 1.4 92/06/25 13:23:57 torek Exp
|
||||
* from: Header: divrem.m4,v 1.4 92/06/25 13:23:57 torek Exp
|
||||
* $Id: divrem.m4,v 1.4 1996/11/18 22:50:30 pk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -45,10 +44,7 @@
|
|||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)divrem.m4 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: divrem.m4,v 1.3 1995/04/22 09:37:39 pk Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
@ -132,7 +128,7 @@ L.$1.eval(TWOSUPN+$2):
|
|||
', ` DEVELOP_QUOTIENT_BITS(incr($1), `eval(2*$2-1)')')
|
||||
ifelse($1, 1, `9:')')
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
#include <machine/trap.h>
|
||||
|
||||
FUNC(NAME)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: ffs.S,v 1.2 1994/10/26 06:39:57 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,17 +34,15 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp
|
||||
* from: Header: ffs.s,v 1.3 92/07/07 00:23:57 torek Exp
|
||||
* $Id: ffs.S,v 1.3 1996/11/18 22:50:31 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: ffs.S,v 1.2 1994/10/26 06:39:57 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
/*
|
||||
* ffs returns the number of the rightmost bit set in its argument,
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: htonl.S,v 1.2 1994/10/26 06:39:58 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,19 +34,17 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: htonl.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* from: Header: htonl.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* $Id: htonl.S,v 1.3 1996/11/18 22:50:32 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)htonl.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: htonl.S,v 1.2 1994/10/26 06:39:58 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* netorder = htonl(hostorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(htonl)
|
||||
retl
|
||||
|
|
|
@ -34,19 +34,17 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* from: Header: htons.s,v 1.1 92/06/25 12:47:05 torek Exp
|
||||
* $Id: htons.S,v 1.3 1996/11/18 22:50:33 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)htons.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: htons.S,v 1.2 1994/10/26 06:39:59 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* netorder = htons(hostorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(htons)
|
||||
sethi %hi(0xffff0000), %o1
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: mul.S,v 1.2 1994/10/26 06:40:01 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,14 +34,12 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: mul.s,v 1.5 92/06/25 13:24:03 torek Exp
|
||||
* from: Header: mul.s,v 1.5 92/06/25 13:24:03 torek Exp
|
||||
* $Id: mul.S,v 1.3 1996/11/18 22:50:33 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)mul.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: mul.S,v 1.2 1994/10/26 06:40:01 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
@ -56,7 +52,7 @@
|
|||
* This code optimizes short (less than 13-bit) multiplies.
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
FUNC(.mul)
|
||||
mov %o0, %y ! multiplier -> Y
|
||||
andncc %o0, 0xfff, %g0 ! test bits 12..31
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: ntohl.S,v 1.2 1994/10/26 06:40:03 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,19 +34,17 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: ntohl.s,v 1.1 92/06/25 12:47:06 torek Exp
|
||||
* from: Header: ntohl.s,v 1.1 92/06/25 12:47:06 torek Exp
|
||||
* $Id: ntohl.S,v 1.3 1996/11/18 22:50:34 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)ntohl.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: ntohl.S,v 1.2 1994/10/26 06:40:03 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* hostorder = ntohl(netorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ntohl)
|
||||
retl
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: ntohs.S,v 1.2 1994/10/26 06:40:05 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,19 +34,17 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: ntohs.s,v 1.1 92/06/25 12:47:07 torek Exp
|
||||
* from: Header: ntohs.s,v 1.1 92/06/25 12:47:07 torek Exp
|
||||
* $Id: ntohs.S,v 1.3 1996/11/18 22:50:35 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)ntohs.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: ntohs.S,v 1.2 1994/10/26 06:40:05 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* hostorder = ntohs(netorder) */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(ntohs)
|
||||
sethi %hi(0xffff0000), %o1
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: saveregs.S,v 1.2 1994/10/26 06:40:07 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,7 +34,8 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: saveregs.s,v 1.1 91/07/06 17:22:33 torek Exp
|
||||
* from: Header: saveregs.s,v 1.1 91/07/06 17:22:33 torek Exp
|
||||
* $Id: saveregs.S,v 1.3 1996/11/18 22:50:35 pk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -49,7 +48,7 @@
|
|||
*
|
||||
* We assume the caller has executed a `save' instruction.
|
||||
*/
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(__builtin_saveregs)
|
||||
st %i0, [%fp + 0x44] ! fr->fr_argd[0]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: setjmp.S,v 1.2 1994/10/26 06:40:08 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,14 +34,12 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: setjmp.s,v 1.2 92/06/25 03:18:43 torek Exp
|
||||
* from: Header: setjmp.s,v 1.2 92/06/25 03:18:43 torek Exp
|
||||
* $Id: setjmp.S,v 1.3 1996/11/18 22:50:36 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)setjmp.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: setjmp.S,v 1.2 1994/10/26 06:40:08 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: strlen.S,v 1.2 1994/10/26 06:40:09 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,17 +34,15 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: strlen.s,v 1.1 92/06/25 12:52:47 torek Exp
|
||||
* from: Header: strlen.s,v 1.1 92/06/25 12:52:47 torek Exp
|
||||
* $Id: strlen.S,v 1.3 1996/11/18 22:50:37 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)strlen.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: strlen.S,v 1.2 1994/10/26 06:40:09 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(strlen)
|
||||
add %o0, 1, %o1 ! save starting point + 1
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* $NetBSD: umul.S,v 1.2 1994/10/26 06:40:10 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -36,14 +34,12 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* Header: umul.s,v 1.4 92/06/25 13:24:05 torek Exp
|
||||
* from: Header: umul.s,v 1.4 92/06/25 13:24:05 torek Exp
|
||||
* $Id: umul.S,v 1.3 1996/11/18 22:50:37 pk Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#ifdef notdef
|
||||
.asciz "@(#)umul.s 8.1 (Berkeley) 6/4/93"
|
||||
#endif
|
||||
.asciz "$NetBSD: umul.S,v 1.2 1994/10/26 06:40:10 cgd Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*
|
||||
|
@ -62,7 +58,7 @@
|
|||
* bnz overflow (or tnz)
|
||||
*/
|
||||
|
||||
#include "DEFS.h"
|
||||
#include <machine/asm.h>
|
||||
FUNC(.umul)
|
||||
or %o0, %o1, %o4
|
||||
mov %o0, %y ! multiplier -> Y
|
||||
|
|
Loading…
Reference in New Issue