Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/floatformat.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1818Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    1919
     20
    2021#include "floatformat.h"
    2122#include <math.h>               /* ldexp */
    22 #ifdef __STDC__
     23#ifdef
    2324#include <stddef.h>
    2425extern void *memcpy (void *s1, const void *s2, size_t n);
     
    6768  floatformat_littlebyte_bigword, 64, 0, 1, 11, 1023, 2047, 12, 52,
    6869  floatformat_intbit_no,
    69   "floatformat_ieee_double_little"
     70  "floatformat_ieee_double_little"
    7071};
    7172
     
    9293const struct floatformat floatformat_m88110_ext =
    9394{
    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};
     99const struct floatformat floatformat_m88110_harris_ext =
     100{
    95101  /* Harris uses raw format 128 bytes long, but the number is just an ieee
    96102     double, and the last 64 bits are wasted. */
    97103  floatformat_big,128, 0, 1, 11,  0x3ff,  0x7ff, 12, 52,
    98104  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};
     107const struct floatformat floatformat_arm_ext_big =
    107108{
    108109  /* Bits 1 to 16 are unused.  */
    109110  floatformat_big, 96, 0, 17, 15, 0x3fff, 0x7fff, 32, 64,
    110111  floatformat_intbit_yes,
    111   "floatformat_arm_ext"
     112  "floatformat_arm_ext_big"
     113};
     114const 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};
     121const 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};
     127const 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};
     133const 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};
     139const 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"
    112144};
    113145
Note: See TracChangeset for help on using the changeset viewer.