Remove the FPA extended-precision format entirely; according to Richard
Earnshaw it was never supported by the toolchain.
This commit is contained in:
parent
bf9fad7ca4
commit
d54b367f5d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ieee.h,v 1.4 2003/10/25 18:19:10 kleink Exp $ */
|
||||
/* $NetBSD: ieee.h,v 1.5 2003/10/26 15:57:54 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -89,11 +89,6 @@
|
||||
#define DBL_EXPBITS 11
|
||||
#define DBL_FRACBITS 52
|
||||
|
||||
#ifndef __VFP_FP__
|
||||
#define EXT_EXPBITS 15
|
||||
#define EXT_FRACBITS 64
|
||||
#endif
|
||||
|
||||
struct ieee_single {
|
||||
u_int sng_frac:23;
|
||||
u_int sng_exponent:8;
|
||||
@ -121,15 +116,6 @@ struct ieee_double {
|
||||
u_int dbl_sign:1;
|
||||
u_int dbl_fracl;
|
||||
};
|
||||
|
||||
struct ieee_ext {
|
||||
u_int ext_exp:15;
|
||||
u_int ext_zero:16;
|
||||
u_int ext_sign:1;
|
||||
u_int ext_frach:31;
|
||||
u_int ext_j:1;
|
||||
u_int ext_fracl;
|
||||
};
|
||||
#endif /* !__VFP_FP__ */
|
||||
|
||||
/*
|
||||
@ -143,16 +129,10 @@ struct ieee_ext {
|
||||
*/
|
||||
#define SNG_EXP_INFNAN 255
|
||||
#define DBL_EXP_INFNAN 2047
|
||||
#ifndef __VFP_FP__
|
||||
#define EXT_EXP_INFNAN 32767
|
||||
#endif /* !__VFP_FP__ */
|
||||
|
||||
#if 0
|
||||
#define SNG_QUIETNAN (1 << 22)
|
||||
#define DBL_QUIETNAN (1 << 19)
|
||||
#ifndef __VFP_FP__
|
||||
#define EXT_QUIETNAN (1 << 15)
|
||||
#endif /* !__VFP_FP__ */
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -160,6 +140,3 @@ struct ieee_ext {
|
||||
*/
|
||||
#define SNG_EXP_BIAS 127
|
||||
#define DBL_EXP_BIAS 1023
|
||||
#ifndef __VFP_FP__
|
||||
#define EXT_EXP_BIAS 16383
|
||||
#endif /* !__VFP_FP__ */
|
||||
|
Loading…
Reference in New Issue
Block a user