Don't include "DEFS.h" when <machine/asm.h> is enough.
This commit is contained in:
parent
7111987161
commit
460818ad02
|
@ -1,10 +1,10 @@
|
||||||
/* Written by Anders Magnusson. Public Domain */
|
/* Written by Anders Magnusson. Public Domain */
|
||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
.asciz "$NetBSD: bswap64.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
|
.asciz "$NetBSD: bswap64.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include "DEFS.h"
|
#include <machine/asm.h>
|
||||||
|
|
||||||
ENTRY(bswap64, 0)
|
ENTRY(bswap64, 0)
|
||||||
movq 4(%ap),%r3
|
movq 4(%ap),%r3
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
/* .asciz "@(#)udiv.s 8.1 (Berkeley) 6/4/93" */
|
/* .asciz "@(#)udiv.s 8.1 (Berkeley) 6/4/93" */
|
||||||
.asciz "$NetBSD: udiv.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
|
.asciz "$NetBSD: udiv.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
* audiv() takes a pointer to a dividend and an ordinary divisor.
|
* audiv() takes a pointer to a dividend and an ordinary divisor.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DEFS.h"
|
#include <machine/asm.h>
|
||||||
|
|
||||||
#define DIVIDEND 4(%ap)
|
#define DIVIDEND 4(%ap)
|
||||||
#define DIVISOR 8(%ap)
|
#define DIVISOR 8(%ap)
|
||||||
|
|
|
@ -32,10 +32,10 @@
|
||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
/* .asciz "@(#)urem.s 8.1 (Berkeley) 6/4/93" */
|
/* .asciz "@(#)urem.s 8.1 (Berkeley) 6/4/93" */
|
||||||
.asciz "$NetBSD: urem.S,v 1.1 2005/12/20 19:28:50 christos Exp $"
|
.asciz "$NetBSD: urem.S,v 1.2 2005/12/24 08:33:32 matt Exp $"
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include "DEFS.h"
|
#include <machine/asm.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unsigned modulus, PCC flavor.
|
* Unsigned modulus, PCC flavor.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: memcpy.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
|
/* $NetBSD: memcpy.S,v 1.2 2005/12/24 08:33:32 matt Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
* The Regents of the University of California. All rights reserved.
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
* of some extra memory references and branches when count >= 65536.
|
* of some extra memory references and branches when count >= 65536.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DEFS.h"
|
#include <machine/asm.h>
|
||||||
|
|
||||||
ENTRY(memcpy, 0)
|
ENTRY(memcpy, 0)
|
||||||
movzwl $65535,%r0 /* %r0 = 64K (needed below) */
|
movzwl $65535,%r0 /* %r0 = 64K (needed below) */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: memmove.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
|
/* $NetBSD: memmove.S,v 1.2 2005/12/24 08:33:32 matt Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
* The Regents of the University of California. All rights reserved.
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
* of some extra memory references and branches when count >= 65536.
|
* of some extra memory references and branches when count >= 65536.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "DEFS.h"
|
#include <machine/asm.h>
|
||||||
|
|
||||||
ENTRY(memmove, 0)
|
ENTRY(memmove, 0)
|
||||||
movzwl $65535,%r0 /* %r0 = 64K (needed below) */
|
movzwl $65535,%r0 /* %r0 = 64K (needed below) */
|
||||||
|
|
Loading…
Reference in New Issue