Changeset 609 for branches/GNU/src/binutils/libiberty/floatformat.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/floatformat.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r608 r609 18 18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 19 19 20 20 21 #include "floatformat.h" 21 22 #include <math.h> /* ldexp */ 22 #ifdef __STDC__23 #ifdef 23 24 #include <stddef.h> 24 25 extern void *memcpy (void *s1, const void *s2, size_t n); … … 67 68 floatformat_littlebyte_bigword, 64, 0, 1, 11, 1023, 2047, 12, 52, 68 69 floatformat_intbit_no, 69 "floatformat_ieee_double_little "70 "floatformat_ieee_double_little" 70 71 }; 71 72 … … 92 93 const struct floatformat floatformat_m88110_ext = 93 94 { 94 #ifdef HARRIS_FLOAT_FORMAT 95 floatformat_big, 80, 0, 1, 15, 0x3fff, 0x7fff, 16, 64, 96 floatformat_intbit_yes, 97 "floatformat_m88110_ext" 98 }; 99 const struct floatformat floatformat_m88110_harris_ext = 100 { 95 101 /* Harris uses raw format 128 bytes long, but the number is just an ieee 96 102 double, and the last 64 bits are wasted. */ 97 103 floatformat_big,128, 0, 1, 11, 0x3ff, 0x7ff, 12, 52, 98 104 floatformat_intbit_no, 99 "floatformat_m88110_ext(harris)" 100 #else 101 floatformat_big, 80, 0, 1, 15, 0x3fff, 0x7fff, 16, 64, 102 floatformat_intbit_yes, 103 "floatformat_m88110_ext" 104 #endif /* HARRIS_FLOAT_FORMAT */ 105 }; 106 const struct floatformat floatformat_arm_ext = 105 "floatformat_m88110_ext_harris" 106 }; 107 const struct floatformat floatformat_arm_ext_big = 107 108 { 108 109 /* Bits 1 to 16 are unused. */ 109 110 floatformat_big, 96, 0, 17, 15, 0x3fff, 0x7fff, 32, 64, 110 111 floatformat_intbit_yes, 111 "floatformat_arm_ext" 112 "floatformat_arm_ext_big" 113 }; 114 const struct floatformat floatformat_arm_ext_littlebyte_bigword = 115 { 116 /* Bits 1 to 16 are unused. */ 117 floatformat_littlebyte_bigword, 96, 0, 17, 15, 0x3fff, 0x7fff, 32, 64, 118 floatformat_intbit_yes, 119 "floatformat_arm_ext_littlebyte_bigword" 120 }; 121 const struct floatformat floatformat_ia64_spill_big = 122 { 123 floatformat_big, 128, 0, 1, 17, 65535, 0x1ffff, 18, 64, 124 floatformat_intbit_yes, 125 "floatformat_ia64_spill_big" 126 }; 127 const struct floatformat floatformat_ia64_spill_little = 128 { 129 floatformat_little, 128, 0, 1, 17, 65535, 0x1ffff, 18, 64, 130 floatformat_intbit_yes, 131 "floatformat_ia64_spill_little" 132 }; 133 const struct floatformat floatformat_ia64_quad_big = 134 { 135 floatformat_big, 128, 0, 1, 15, 16383, 0x7fff, 16, 112, 136 floatformat_intbit_no, 137 "floatformat_ia64_quad_big" 138 }; 139 const struct floatformat floatformat_ia64_quad_little = 140 { 141 floatformat_little, 128, 0, 1, 15, 16383, 0x7fff, 16, 112, 142 floatformat_intbit_no, 143 "floatformat_ia64_quad_little" 112 144 }; 113 145 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
