[BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST macros from the Blackfin back end in the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST and TARGET_MEMORY_MOVE_COST target hooks. Untested. OK to install? * config/bfin/bfin.h (REGISTER_MOVE_COST, M

Re: [BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Richard Henderson
On 12/23/2011 10:55 AM, Anatoly Sokolov wrote: > * config/bfin/bfin.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. > * config/bfin/bfin-protos.h (bfin_register_move_cost, > bfin_memory_move_cost): Remove. > * config/bfin/bfin.c (bfin_register_move_cost, >

Re: [BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Jie Zhang
Hi Anatoly, I cannot apply your patch to a lean tree. I tried to save your email as a text file, copy from thunderbird, copy from gmail, copy from the mailing list archive. But neither works. Regards, Jie 2011/12/23 Anatoly Sokolov : >  Hi. > >  This patch removes obsolete REGISTER_MOVE_COST and

Re: [BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-24 Thread post
Hi. Hi Anatoly, I cannot apply your patch to a lean tree. I tried to save your email as a text file, copy from thunderbird, copy from gmail, copy from the mailing list archive. But neither works. Regards, Jie You can use a patch now? Index: gcc/config/bfin/bfin-protos.h

Re: [BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-26 Thread Georg-Johann Lay
Anatoly Sokolov schrieb: Hi. This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST Why are they obsolete? The internals do not say they are obsolete and the PRINT_* hoohs documentation does not mention a replacement. There is not even a documentation for target hooks TA