Subject: Re: arm26 compiler fun
To: Richard Earnshaw <email@example.com>
From: Ben Harris <firstname.lastname@example.org>
Date: 05/16/2000 00:10:23
On Mon, 15 May 2000, Richard Earnshaw wrote:
> Are you sure? Check doubles. These are returned from soft-float as a
> struct containing two words. Removing the above definitions will bring
> the compiler into line with the APCS and will make -freg-struct-return the
> default, but that mandates that such structures are returned in memory,
> not in a pair of registers as a double should be.
Right, so the way to arrange this is to get the SoftFloat code to return
long longs, since they also get returned in two registers. It looks as if
the current version of SoftFloat (version 2a) supports doing this. Is
there any reason not to go over to using this?
Ben Harris <email@example.com>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>