On Tue, Oct 30, 2018 at 10:22:48AM -0500, Aaron Sawdey wrote:
> I had to make one more change to make this actually work. In
> rs6000_force_indexed_or_indirect_mem() it was necessary to
> return the updated rtx.

Yes, that probably work better ;-)

> Bootstrap/regtest passes on ppc64le (power7, power9), ok for trunk?

Okay.  Thanks!


Segher


> 2018-10-30  Aaron Sawdey  <acsaw...@linux.ibm.com>
> 
>       * config/rs6000/rs6000.md (bswapdi2): Force address into register
>       if not in indexed or indirect form.
>       (bswapdi2_load): Change predicate to indexed_or_indirect_operand.
>       (bswapdi2_store): Ditto.
>       * config/rs6000/rs6000.c (rs6000_force_indexed_or_indirect_mem): New
>       helper function.
>       * config/rs6000/rs6000-protos.h (rs6000_force_indexed_or_indirect_mem):
>       Prototype for helper function.

Reply via email to