This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bytes order and words order


On Fri, Aug 23, 2002 at 02:33:51PM -0400, Paul Koning wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
> 
>  >> Well, what mostly is annoying me in my proposed scheme is that it
>  >> would somehow duplicate some information mostly with real.[ch].
>  >> That really makes me uneasy.  On a previous attempt, I tried to
>  >> have real.[ch] act like part of the C++ library, that was way too
>  >> invasive and too tighly coupled with GCC's internals.  I'm open to
>  >> suggestions.
> 
>  Daniel> Libiberty has a file in it called floatformat.c.  You'd need
>  Daniel> to play some licensing games to use it but it should have
>  Daniel> everything you need; that's how GDB understands target
>  Daniel> floats.
> 
> Correct me if I missed something, but from a cursory scan of that file
> it looks like it only supports one of the four formats (IEEE) that
> real.c supports. 

That may be - but it's structured such that adding more ought to be
practical.  I think.  I'm no expert on floating point!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]