Retire FPA support from this file at last; suggested by Richard Earnshaw
and not objected to by port-arm.
This commit is contained in:
parent
7b674621bf
commit
72f016b386
|
@ -1,11 +1,11 @@
|
|||
# $NetBSD: Makefile.inc,v 1.9 2003/10/26 16:00:17 kleink Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.10 2003/10/28 21:44:04 kleink Exp $
|
||||
|
||||
SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c divsi3.S \
|
||||
fabs.c flt_rounds.c \
|
||||
infinity.c infinityl.c
|
||||
fabs.c flt_rounds.c
|
||||
|
||||
# Common ieee754 constants and functions
|
||||
SRCS+= infinityf_ieee754.c nanf_ieee754.c
|
||||
SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_dbl_ieee754.c
|
||||
SRCS+= nanf_ieee754.c
|
||||
SRCS+= isinfl_dbl_ieee754.c isnanl_dbl_ieee754.c
|
||||
SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c
|
||||
SRCS+= ldexp_ieee754.c modf_ieee754.c
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* $NetBSD: infinity.c,v 1.5 2003/10/26 16:00:17 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* IEEE-compatible infinity.c -- public domain.
|
||||
* For VFP (plain double-precision) and
|
||||
* for FPA (which is a different layout thereof).
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <machine/endian.h>
|
||||
|
||||
const union __double_u __infinity =
|
||||
#ifdef __VFP_FP__
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
{ { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
|
||||
#else
|
||||
{ { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
|
||||
#endif /* BYTE_ORDER == BIG_ENDIAN */
|
||||
#else
|
||||
{ { 0, 0, 0xf0, 0x7f, 0, 0, 0, 0 } };
|
||||
#endif /* __VFP_FP__ */
|
|
@ -1,21 +0,0 @@
|
|||
/* $NetBSD: infinityl.c,v 1.2 2003/10/26 16:00:17 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* IEEE-compatible infinityl.c -- public domain.
|
||||
* For VFP (where long double == double) and
|
||||
* for FPA (which ia a different layout thereof).
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <machine/endian.h>
|
||||
|
||||
const union __long_double_u __infinityl =
|
||||
#ifdef __VFP_FP__
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
{ { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } };
|
||||
#else
|
||||
{ { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } };
|
||||
#endif /* BYTE_ORDER == BIG_ENDIAN */
|
||||
#else
|
||||
{ { 0, 0, 0xf0, 0x7f, 0, 0, 0, 0 } };
|
||||
#endif /* __VFP_FP__ */
|
Loading…
Reference in New Issue