This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [RFA/mips] 128-bit long doubles for N32/N64


>>>>> "Mark" == Mark Kettenis <kettenis@jive.nl> writes:

 >> I am ok with documenting this approximation in the GDB manual.
 >> If whoever wants to fix this later, then fine. But in the
 >> meantime, I think something is better than nothing.

 Mark> Folks, Please realize that in practice, printing an
 Mark> approximation is the best we can do anyway. 

I'm not sure the present case warrants the effort, but I don't think
that's true.  You could lift the gcc code in real.c, which has
conversions between target format and an oversized internal format.
With that you would be able to process 128 bit floats correctly on any
host.

Then again, I'm not sure why MIPS N32 is defined to have 128 bit
floats in the first place.  It seems rather silly considering that
there isn't any such data type in the machine instruction set.

      paul


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