[ARC] Refactor deprecated macros.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 16 Apr 2019 10:21:15 +0000 (12:21 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Tue, 16 Apr 2019 10:21:15 +0000 (12:21 +0200)
commitb9bc3b128c02de33783a1729709cf44dd42bd05e
treef86d298c452218367ebcc52d1f932cebc3efd624
parentfa27cbfeb3291eab70181064b4ff5979375ed255
[ARC] Refactor deprecated macros.

xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc-protos.h (arc_register_move_cost): Remove.
* config/arc/arc.c (arc_register_move_cost): Re-purpose it to
implement target hook.
(arc_memory_move_cost): New function.
(TARGET_REGISTER_MOVE_COST): Define.
(TARGET_MEMORY_MOVE_COST): Likewise.
* config/arc/arc.h (REGISTER_MOVE_COST): Remove.
(MEMORY_MOVE_COST): Likewise.

fix

From-SVN: r270387
gcc/ChangeLog
gcc/config/arc/arc-protos.h
gcc/config/arc/arc.c
gcc/config/arc/arc.h