[ARC] Enable indexed loads for elf targers

Programming / Compilers / GCC - claziss [138bc75d-0d04-0410-961f-82ee72b054a4] - 17 July 2017 08:32 EDT

Enable indexed loads only for elf target, as the linux ones need more testing.

gcc/ 2017-02-28 Claudiu Zissulescu

- config/arc/arc.opt (mindexed-loads): Use initial value TARGET_INDEXED_LOADS_DEFAULT. (mauto-modify-reg): Use initial value TARGET_AUTO_MODIFY_REG_DEFAULT.
- config/arc/elf.h (TARGET_INDEXED_LOADS_DEFAULT): Define. (TARGET_AUTO_MODIFY_REG_DEFAULT): Likewise.
- config/arc/linux.h (TARGET_INDEXED_LOADS_DEFAULT): Define. (TARGET_AUTO_MODIFY_REG_DEFAULT): Likewise.

256e763 [ARC] Enable indexed loads for elf targers.
gcc/ChangeLog | 11 +++++++++++
gcc/config/arc/arc.opt | 4 ++--
gcc/config/arc/elf.h | 8 ++++++++
gcc/config/arc/linux.h | 8 ++++++++
4 files changed, 29 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share