This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: removing ctr branches from rs6000
- From: Dale Johannesen <dalej at apple dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, Spundun <spundun at ISI dot EDU>, gcc <gcc at gcc dot gnu dot org>
- Date: Tue, 26 Nov 2002 10:12:41 -0800
- Subject: 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.