This is the mail archive of the gcc-patches@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]

Re: mode switching and new pseudos


> > 
> > Hi,
> > the sh target contains dirty hack to allocate hard regs instead of pseudos
> > for mode switching code.  As life info is recomputed, I don't see why we
> > can't play same games, as ifcvt pass does.
> > 
> > I am not updating the sh target, as I can't test it, but code works for
> > me on i386 and my mode switching patch.
> > 
> > Bootstrapped i686 together with mode switching patch.
> >
> 
> I suspect this hasn't actually been tested on the mainline, since the SH
> port has been broken for a while now (a month or two).
Hi,
I am about to commit the life_up_to_date patch (once bootstrap and regtesting
finishes).
I would believe that this patch will fix the sh port, as it does fix i386 with
mode switching code enabled.  Can you please try? In case it does, I can make
patch for avoiding the dirty hack in sh.c

Honza
> 
> 
> Toshi
> 


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