This is the mail archive of the gcc@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: removing ctr branches from rs6000


On Tuesday, November 26, 2002, at 09:56  AM, David Edelsohn wrote:

Spundun  writes:
Spundun> Hi as I am trying to use rs6000 configuration as a template to port gcc
Spundun> to a new architecture, I am encountering problems. My latest is that
Spundun> unlike rs6000 my arch doesnt have ctr register and the macros like
Spundun> HAVE_decrement_and_branch_on_count should be false. But I couldnt locate
Spundun> a place in the sourcecode where they are defined ( I basically tried to
Spundun> grep through the source). Can anyone suggest a clean way of removing
Spundun> these "barnch on count" support?

Those macros are defined automatically based on the existence of
particular named patterns in the machine description.
Yes. In this particular case, decrement_and_branch_on_count is already gone
from rs6000.md, as of July 2000 (but see *ctrsi*). You might want to use a
more recent version as a starting point.


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