This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: `long double' support for ix86 targets



> I intend to check in the following patch in a week or two, but since
> this change affects most of the ix86 targets, I'd like to give people
> the opportunity to object.
> 
> Mark
> 
> 
> 2000-03-02  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
> 	&floatformat_i387_ext.
> 	(TARGET_LONG_DOUBLE_BITS): Define as 96.
> 	(REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
> 	`builtin_type_long_double'.
> 	(REGISTER_CONVERT_TO_VIRTUAL): Simply copy over the data, and pad
> 	with zeroes.
> 	(REGISTER_CONVERT_TO_RAW): Simply copy over the significant data.
> 	(i387_to_double, double_to_i387): Remove prototypes.

These changes are okay for DJGPP.

Btw, shouldn't we also have identical definition for
HOST_LONG_DOUBLE_FORMAT for native debugging?  Several functions ask
about the host and target format being identical.

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