* Re: [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT [not found] <3B3CB989.1000706@cygnus.com> @ 2001-06-29 13:49 ` Kevin Buettner 2001-06-29 15:20 ` Kevin Buettner 2001-07-04 12:24 ` Andrew Cagney 0 siblings, 2 replies; 3+ messages in thread From: Kevin Buettner @ 2001-06-29 13:49 UTC (permalink / raw) To: Andrew Cagney, gdb-patches On Jun 29, 1:23pm, Andrew Cagney wrote: > This patch changes GDB so that, if the host configury didn't specify the > floating point format, it will fall back immediatly to floatformat_*(). > Previously, GDB would assume that the HOST had IEEE FP and try to use > that. > > For hosts that don't specify a HOST_*_FORMAT, this will mean a loss of > FP precision when using GDB :-/ Are you suggesting that hosts should define HOST_*_FORMAT? Or should we attempt to eliminate the HOST_*_FORMAT macros entirely? (The only HOST_*_FORMAT macro currently defined is HOST_LONG_DOUBLE_FORMAT and it is only defined by some i386 hosts.) BTW, you'll need to address the use of HOST_FLOAT_FORMAT in arm_linux_push_arguments() in arm-linux-tdep.c or else that file won't compile any longer after eliminating the defines from defs.h. Kevin ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT 2001-06-29 13:49 ` [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT Kevin Buettner @ 2001-06-29 15:20 ` Kevin Buettner 2001-07-04 12:24 ` Andrew Cagney 1 sibling, 0 replies; 3+ messages in thread From: Kevin Buettner @ 2001-06-29 15:20 UTC (permalink / raw) To: Andrew Cagney, gdb-patches On Jun 29, 1:48pm, Kevin Buettner wrote: > BTW, you'll need to address the use of HOST_FLOAT_FORMAT in > arm_linux_push_arguments() in arm-linux-tdep.c or else that file > won't compile any longer after eliminating the defines from defs.h. Oops. Never mind. I'm behind on email and just got to some of the earlier mail where you fixed this problem on ARM. Kevin ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT 2001-06-29 13:49 ` [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT Kevin Buettner 2001-06-29 15:20 ` Kevin Buettner @ 2001-07-04 12:24 ` Andrew Cagney 1 sibling, 0 replies; 3+ messages in thread From: Andrew Cagney @ 2001-07-04 12:24 UTC (permalink / raw) To: Kevin Buettner; +Cc: gdb-patches > On Jun 29, 1:23pm, Andrew Cagney wrote: > > >> This patch changes GDB so that, if the host configury didn't specify the >> floating point format, it will fall back immediatly to floatformat_*(). >> Previously, GDB would assume that the HOST had IEEE FP and try to use >> that. >> >> For hosts that don't specify a HOST_*_FORMAT, this will mean a loss of >> FP precision when using GDB :-/ > > > Are you suggesting that hosts should define HOST_*_FORMAT? Or should > we attempt to eliminate the HOST_*_FORMAT macros entirely? I think we should eliminate HOST_*_FORMAT entirely. GDB should always use something like ``sim/common/sim-fpu.[hc]'' to do its FP emulation. that way, no matter what the host/target, GDB provides both consistent and exact FP behavour. Andrew ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-04 12:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3B3CB989.1000706@cygnus.com>
2001-06-29 13:49 ` [rfc/rfa] Almost eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT Kevin Buettner
2001-06-29 15:20 ` Kevin Buettner
2001-07-04 12:24 ` Andrew Cagney
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox