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]
Other format: [Raw text]

Re: [PATCH,rs6000] Add option to avoid generation of indexed load/store instructions


>
> 2009-01-26  Pat Haugen  <pthaugen@us.ibm.com>
>
>       * doc/invoke.texi (avoid-indexed-addresses): Document new option.
>       * config/rs6000/rs6000-protos.h (avoiding_indexed_address_p):
> Declare.
>       * config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
>       * config/rs6000/rs6000.c (rs6000_override_options): Default
>       avoid-indexed-addresses on for Power6, off for everything else.
>       (avoiding_indexed_address_p): New function.
>       (rs6000_legitimize_address): Use it.
>       (rs6000_legitimate_address): Likewise.
>       * config/rs6000/rs6000.md (movXX_updateX): Likewise
>
>
> testsuite/ChangeLog:
>
> 2009-01-26  Pat Haugen  <pthaugen@us.ibm.com>
>
>       * gcc.target/powerpc/avoid-indexed-addresses.c: New test.


Updated with requested formatting changes.

(See attached file: avoid_xform.diff)

Attachment: avoid_xform.diff
Description: Binary data


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