This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Overwhelmed by GCC frustration


On Wed, Aug 16, 2017 at 11:23:27PM +0900, Oleg Endo wrote:
> > First of all, LRA cannot cope with cc0 (Yes, I know deprecating
> > cc0 is just to deprecate all non-LRA BEs).  LRA asserts that
> > accessing the frame doesn't change condition code. LRA doesn't
> > provide replacement for LEGITIMITE_RELOAD_ADDRESS.  Hence LRA
> > focusses just comfortable, orthogonal targets.
> 
> It seems LRA is being praised so much, but all those niche BEs and
> corner cases get zero support.  There are several known instances of SH
> code regressions with LRA, and that's why I haven't switched it to
> LRA. 

LRA is easier to work with than old reload, and that makes it better
maintainable.

Making LRA handle everything reload did is work, and someone needs to
do it.

LRA probably needs a few more target hooks (a _few_) to guide its
decisions.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]