Use __HAVE_FPU__ instead __HAVE_68881__
This commit is contained in:
parent
d35c388600
commit
c1bc7ededb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fabs.S,v 1.10 2013/07/16 22:12:20 matt Exp $ */
|
||||
/* $NetBSD: fabs.S,v 1.11 2013/07/17 06:43:32 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -31,10 +31,10 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
RCSID("$NetBSD: fabs.S,v 1.10 2013/07/16 22:12:20 matt Exp $")
|
||||
RCSID("$NetBSD: fabs.S,v 1.11 2013/07/17 06:43:32 matt Exp $")
|
||||
|
||||
ENTRY(fabs)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_68881__)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_FPU__)
|
||||
bclr #31,4(%sp)
|
||||
fmoved 4(%sp),%fp0
|
||||
#else
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: negdf2.S,v 1.9 2013/07/16 22:12:20 matt Exp $ */
|
||||
/* $NetBSD: negdf2.S,v 1.10 2013/07/17 06:43:32 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,13 +39,13 @@
|
||||
#if 0
|
||||
RCSID("from: @(#)negdf2.s 5.1 (Berkeley) 6/7/90")
|
||||
#else
|
||||
RCSID("$NetBSD: negdf2.S,v 1.9 2013/07/16 22:12:20 matt Exp $")
|
||||
RCSID("$NetBSD: negdf2.S,v 1.10 2013/07/17 06:43:32 matt Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* -double */
|
||||
ENTRY(__negdf2)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_68881__)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_FPU__)
|
||||
fnegd 4(%sp),%fp0
|
||||
#else
|
||||
movel 4(%sp),%d0
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: negsf2.S,v 1.9 2013/07/16 22:12:20 matt Exp $ */
|
||||
/* $NetBSD: negsf2.S,v 1.10 2013/07/17 06:43:32 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -39,13 +39,13 @@
|
||||
#if 0
|
||||
RCSID"from: @(#)negsf2.s 5.1 (Berkeley) 6/7/90")
|
||||
#else
|
||||
RCSID("$NetBSD: negsf2.S,v 1.9 2013/07/16 22:12:20 matt Exp $")
|
||||
RCSID("$NetBSD: negsf2.S,v 1.10 2013/07/17 06:43:32 matt Exp $")
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* -single */
|
||||
ENTRY(__negsf2)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_68881__)
|
||||
#if defined(__SVR4_ABI__) && defined(__HAVE_FPU__)
|
||||
fnegs 4(%sp),%fp0
|
||||
#else
|
||||
movel 4(%sp),%d0
|
||||
|
Loading…
Reference in New Issue
Block a user