[PING*2][PATCH] Force SDmode function args into FP registers per the ABI

Mark Mitchell mark@codesourcery.com
Mon Jun 11 02:47:00 GMT 2007


Peter Bergner wrote:

> I'd like to ping again, the following patch:
> 
>   http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01515.html
> 
> It's mainly a rs6000 change, but does modify emit-rtl.c and
> combine.c so as to allow paradoxical subregs of SDmode regs.

I looked at this.  I'm not comfortable with the generic code
modifications.  I don't see a justification for handling DDmode and
SDmode specially in this way.  To me, those changes look like a hack
that works for Power, but doesn't necessarily make sense otherwise.
And, on some other machine, it seems like the same concerns could apply
to DFmode and SFmode, or to DImode and SImode.

Of course, I may well be missing something.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list