Re: [SCORE] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-26 Thread Chen Liqin
On Fri, 2011-12-23 at 23:08 +0400, Anatoly Sokolov wrote: > * config/score/score.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. > * config/score/score-protos.h (score_register_move_cost): Remove. > > * config/score/score.c (TARGET_REGISTER_MOVE_COST): Define. >

Re: [SCORE] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Richard Henderson
On 12/23/2011 11:08 AM, Anatoly Sokolov wrote: > * config/score/score.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. > * config/score/score-protos.h (score_register_move_cost): Remove. > > * config/score/score.c (TARGET_REGISTER_MOVE_COST): Define. > (scor

[SCORE] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST macro from the SCORE back end in the GCC and introduces equivalent TARGET_MEMORY_MOVE_COST target hook. The MEMORY_MOVE_COST macros is removed and default implementation of the TARGET_MEMORY_MOVE_COST target hook is used. Untested. OK