This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] rs6000: default for -D_SOFT_FLOAT
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: [patch] rs6000: default for -D_SOFT_FLOAT
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Fri, 26 Oct 2001 19:58:21 -0400
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200110262014.f9QKEZb14563@greed.delorie.com>
On Fri, Oct 26, 2001 at 04:14:35PM -0400, DJ Delorie wrote:
>
> The rs6000 configuration allowed for a cpu-specific default for
> whether -D_SOFT_FLOAT was provided or not. Nobody set it. This patch
> does so, by specifying an additional header that sets the default,
> based on --with-cpu= and --with(out)-fp. I took the list of
> soft-float CPUs from the existing cpp spec. Lightly tested on a
> linux-x-powerpc cross build.
There's something I don't understand about this. It's not introduced
by your patch, but you preserve it. This makes --without-fp change
-D_SOFT_FLOAT - but nothing else!
Shouldn't it also set the mask so that we actually don't generate
floating point? In other words, act like -msoft-float?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer