[IA64] Hookize MEMORY_MOVE_COST

Anatoly Sokolov aesok@post.ru
Tue Jun 29 20:47:00 GMT 2010


Hi.

From: "Richard Henderson" <rth@redhat.com>
To: "Anatoly Sokolov" <aesok@post.ru>
Sent: Tuesday, June 29, 2010 7:22 PM

> On 06/29/2010 12:00 AM, Anatoly Sokolov wrote:
>>> What bit of reload.h is being used here?
>>>
>>
>>  The memory_move_cost function declared in reload.h.
>
> ... which is not called by ia64_memory_move_cost,
> so I ask again.
>

I wish split the back end interface from middle end interface. If the back 
end
interface is once again will be changed, for example be implemented as
C++ class and TARGET_MEMORY_MOVE_COST target hooks changed to virtual 
function,
only memory_move_cost function should be changed, all code which uses it 
will
stay unchanged.

Anatoly. 



More information about the Gcc-patches mailing list