diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-12-09 19:46:25 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-12-09 19:46:25 +0000 |
commit | eeeafb12487449aefa05ef31aa83d0b6e24b8a8f (patch) | |
tree | 564184603e4d3f960d77f388ea7d62874aabce3d /sys/arch/sparc | |
parent | fdb65fd80a5ceacbd684d17ad6893767c441474d (diff) |
sparc does not have extended precision, therefore remove unused
definitions. ok millert@. tested by jsg@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/include/ieee.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/sys/arch/sparc/include/ieee.h b/sys/arch/sparc/include/ieee.h index 31010a01238..f98afe16d2a 100644 --- a/sys/arch/sparc/include/ieee.h +++ b/sys/arch/sparc/include/ieee.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee.h,v 1.4 2008/09/07 20:36:07 martynas Exp $ */ +/* $OpenBSD: ieee.h,v 1.5 2008/12/09 19:46:24 martynas Exp $ */ /* $NetBSD: ieee.h,v 1.2 1994/11/20 20:53:10 deraadt Exp $ */ /* @@ -88,22 +88,6 @@ #define E80_FRACBITS 64 #endif -#define EXT_EXPBITS 15 -#define EXT_FRACHBITS 16 -#define EXT_FRACHMBITS 32 -#define EXT_FRACLMBITS 32 -#define EXT_FRACLBITS 32 -#define EXT_FRACBITS 112 - -#define EXT_IMPLICIT_NBIT - -#define EXT_TO_ARRAY32(p, a) do { \ - (a)[0] = (uint32_t)(p)->ext_fracl; \ - (a)[1] = (uint32_t)(p)->ext_fraclm; \ - (a)[2] = (uint32_t)(p)->ext_frachm; \ - (a)[3] = (uint32_t)(p)->ext_frach; \ -} while(0) - struct ieee_single { u_int sng_sign:1; u_int sng_exp:8; @@ -117,15 +101,6 @@ struct ieee_double { u_int dbl_fracl; }; -struct ieee_ext { - u_int ext_sign:1; - u_int ext_exp:15; - u_int ext_frach:16; - u_int ext_frachm; - u_int ext_fraclm; - u_int ext_fracl; -}; - /* * Floats whose exponent is in [1..INFNAN) (of whatever type) are * `normal'. Floats whose exponent is INFNAN are either Inf or NaN. @@ -137,12 +112,10 @@ struct ieee_ext { */ #define SNG_EXP_INFNAN 255 #define DBL_EXP_INFNAN 2047 -#define EXT_EXP_INFNAN 32767 #if 0 #define SNG_QUIETNAN (1 << 22) #define DBL_QUIETNAN (1 << 19) -#define EXT_QUIETNAN (1 << 15) #endif /* @@ -150,4 +123,3 @@ struct ieee_ext { */ #define SNG_EXP_BIAS 127 #define DBL_EXP_BIAS 1023 -#define EXT_EXP_BIAS 16383 |