[RFC] Turn on -mapp-regs by default on Solaris

Eric Botcazou ebotcazou@libertysurf.fr
Fri Apr 22 00:15:00 GMT 2005


> As Eric pointed out to me, even Sun's compiler does -mapp-reg
> by default.
>
> It's kind of amusing that Solaris Sparc targets have been
> without 3 or 4 registers since ~1999.  Heck, that's how
> many integer registers some targets have total :-)

Indeed, and that's why I'm pondering putting it on the 4.0 branch too once it 
reopens.  Technically it's a regression and the Solaris users would not have 
to wait another full year for the "fix".

And this could bring a slight performance boost to 4.x at almost no cost. :-)

-- 
Eric Botcazou



More information about the Gcc-patches mailing list