This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Allocating three consecutive registers?
Daniel Berlin <dberlin@redhat.com> writes:
> Lars Brinkhoff <lars.spam@nocrew.org> writes:
> > > > I wonder if there is a way to allocate three consecutive registers?
> > Playing with subregs doesn't work either, because global register
> > allocation will call mark_home_live to mark all four SImode subregs of
> > the TImode register as live, even though the final code never
> > references the last subreg.
> Try the new allocator branch, see what it does.
Same behaviour with respect to subregs of TImode.
And it does worse in some cases, allocating three callee-saved
registers instead of two as the mainline does.
--
http://lars.nocrew.org/