OSDN Git Service

* doc/invoke.texi (avoid-indexed-addresses): Document new option.
authorpthaugen <pthaugen@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 2009 18:51:53 +0000 (18:51 +0000)
committerpthaugen <pthaugen@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Jan 2009 18:51:53 +0000 (18:51 +0000)
commit2fdf186fa4124baf6b3da406a58088d0dbce6418
tree7768363a91ec2e18411cb1aee8856dc7d40aa721
parentf8d70d30b3540ea72fa100b96698d5af5c73227d
* 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
* gcc.target/powerpc/avoid-indexed-addresses.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143742 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/rs6000.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/avoid-indexed-addresses.c [new file with mode: 0644]