This is the mail archive of the gcc-patches@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: DEC float patch


>>>>> "John" == John David Anglin <dave@hiauly1.hia.nrc.ca> writes:

 >> Neither of us has write access.  Could someone who does have write
 >> access do the checkin?  I verified (yesterday) that real.c is
 >> unchanged since I generated the patch, so there shouldn't be any
 >> patch mismatch issues.

 John> Installed.

 John> I started a couple of weeks ago to try to create a version of
 John> this patch for the 3.1 branch.  However, a number of things are
 John> different and I haven't had time to work out the bugs.

 John> The current patch is quite a major rewrite.  I was wondering if
 John> a less invasive patch could be developed for the branch.  The
 John> main problem seems to be in the conversion of vax D floats.

Both F and D floats are wrong for VAX.  F float is less obvious
because the field sizes are the same as for IEEE, but the exponent
bias is different.

A VAX-only solution would be to lift the new stuff from the trunk
real.c (basically the *ieee* functions) and use them only condional on
vax float format, leaving all the others platforms alone.  

This is not a good time for me to try to spend time on that,
unfortunately... 

    paul


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