This is the mail archive of the
mailing list for the GCC project.
Re: real.c on unicosmk
- From: Stephen L Moshier <steve at moshier dot net>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Joe Buck <Joe dot Buck at synopsys dot com>, Roman Lechtchinsky <rl at cs dot tu-berlin dot de>, <gcc at gcc dot gnu dot org>
- Date: Thu, 23 May 2002 17:37:04 -0400 (EDT)
- Subject: Re: real.c on unicosmk
> > pdp11 aborts on any floating constant.
> My patches should not have changed that.
On second reading, it seems what broke, by whomever's action, was actually
the memory values. They used to be printed in decimal as shown below
(from gcc-2.95). The PDP-11 floating point format is similar to a VAX but
I think the byte order is slightly scrambled relative to VAX format.
#define ASM_OUTPUT_DOUBLE(FILE,VALUE) \
fprintf (FILE, "\tdouble %.20e\n", (VALUE))
/* This is how to output an assembler line defining a `float' constant.
#define ASM_OUTPUT_FLOAT(FILE,VALUE) \
fprintf (FILE, "\tfloat %.12e\n", (VALUE))