This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SH] PR 50751 - add HImode displacement addressing support
On Wed, 2012-04-11 at 22:10 +0900, Kaz Kojima wrote:
> Oleg Endo <oleg.endo@t-online.de> wrote:
> >> BTW, do you have the numbers of CSiBE with this?
> >>
> >
> > Only for "-m4-single -ml -O2 -mpretend-cmove" so far.
> > Not so spectacular :T
> > I'll also do a comparison of more variants to see if something went
> > really bad. It's a bit difficult to isolate the degradations because
> > there's quite some code reordering happening after the patch...
>
> Thanks for numbers! Looks good considering that HImode would be
> less frequently used than QImode in the usual working set.
>
Sure, no problem.
I think there is some room for improvement in the
'sh_find_mov_disp_adjust' function. If it was a bit smarter, all the
displacement move insns would instantly benefit from it.
Cheers,
Oleg