[ARC] Addresses can use long immediate for offsets.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 25 Apr 2017 12:04:46 +0000 (14:04 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Tue, 25 Apr 2017 12:04:46 +0000 (14:04 +0200)
commitac2e1a513eba781682eb963b0e9facf4f1a5ea3e
tree70619ad68656ac84b308e4e35151cd010f07f645
parent1f8876c786ee2ea08adca27e632a9197bb90ffe7
[ARC] Addresses can use long immediate for offsets.

gcc/
2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.c (LEGITIMATE_OFFSET_ADDRESS_P): Delete macro.
(legitimate_offset_address_p): New function.
(arc_legitimate_address_p): Use above function.

From-SVN: r247201
gcc/ChangeLog
gcc/config/arc/arc.c