This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RS6000] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST


Hi.


----- Original Message ----- From: "David Edelsohn" <dje.gcc@gmail.com>
Sent: Thursday, July 08, 2010 6:52 PM
Subject: Re: [RS6000] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST


2010/7/7 Anatoly Sokolov <aesok@post.ru>:
Hi.

This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST macros
from the RS6000 back end in the GCC and introduces equivalent
TARGET_REGISTER_MOVE_COST and TARGET_MEMORY_MOVE_COST target hooks.

I cannot approve the reginfo.h and rtl.h changes. And shouldn't a patch convert all of the backends to target hooks, not just rs6000?

Such patch can be created, but its testing will get a lot of time. I prefer to do and test patches on target-by-target basis.


Anatoly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]