This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: real.c implementation
Richard Henderson <rth@redhat.com> writes:
|> On Tue, Oct 22, 2002 at 06:38:09AM -0400, Robert Dewar wrote:
|> > One thing I am not clear on for all ports is whether any of them trust
|> > the assembler to do decimal to float conversion correctly. I know that
|> > this was the case in GCC 2.8.1, and if you do that, the game gets lost
|> > at the assembler level. It is definitely important to generate all
|> > float constants in proper machine form in hex.
|>
|> The only place this happens is if the target allows fp constants
|> as arguments to an instruction, e.g. on m68k. Which is probably
|> going to fail if you try to put numbers like "+Inf" or whatnot
|> there. One could consider that a port bug that it allows this.
GAS should be able to handle them correctly.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."