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: real.c on unicosmk


On Thu, May 23, 2002 at 05:48:41PM -0400, Paul Koning wrote:
> > #define ASM_OUTPUT_FLOAT(FILE,VALUE)  \
> >   fprintf (FILE, "\tfloat %.12e\n", (VALUE))
> 
> I'd have to check the memory order question.  But in any case, what
> you've shown has gcc generating float numeric strings and the
> assembler sorts it out.  The byte/word order question would matter to
> gcc only if it was generating float and double literals with ".word"
> and octal or decimal integer bitpatterns.

No, he's right, this can't work anymore -- VALUE is no longer a host
double.  This needs to be changed to use REAL_VALUE_TO_DECIMAL.

zw


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