On Wed, Feb 6, 2013 at 8:38 AM, Alan Modra <amo...@gmail.com> wrote:
> My PR54131 fix caused PR54009 to raise its ugly head again.  Allowing
> all LO_SUM addresses in the 'Y' constraint (mem_operand_gpr) wasn't
> quite correct.  We still need to check for wrap when offsetting for
> multiple words/regs.  Fixing that means the LO_SUM addresses not
> accepted by 'Y' need an address reload.
>
> OK assuming powerpc64 and powerpc-linux regression testing passes?
>
>         PR target/54009
>         * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM
>         addresses won't wrap when offsetting.
>         (rs6000_secondary_reload): Provide secondary reloads needed for
>         wrapping LO_SUM addresses.

Okay.

We just need to tweak it until we close these corner cases.

Do you have a testcase that can be added?

Thanks, David

Reply via email to