From: Basile STARYNKEVITCH <basile@starynkevitch.net>
To: ddmetro <puzzlesdj@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: help on - adding a new pass to gcc
Date: Tue, 10 Nov 2009 16:45:00 -0000 [thread overview]
Message-ID: <4AF998B2.5080406@starynkevitch.net> (raw)
In-Reply-To: <26286452.post@talk.nabble.com>
ddmetro wrote:
> Hi All,
> We are adding a new pass for - structural hazard optimization - in
> gcc.
> We have added a rtl_opt_pass variable(pass_sched3) declaration in
> tree-pass.h and defined the same in a new file - sched-by-category.c
In addition of all the other good hints, you might perhaps try to make your pass a plugin of GCC; your use is a good
case for a plugin.
Plugins are available in the latest GCC trunk (future 4.5) and should be enabled at configure (& also gcc use) time.
See http://gcc.gnu.org/onlinedocs/gccint/Plugins.html
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
prev parent reply other threads:[~2009-11-10 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 16:25 ddmetro
2009-11-10 16:36 ` Andrew Pinski
2009-11-10 16:37 ` Bingfeng Mei
2009-11-10 16:45 ` Basile STARYNKEVITCH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF998B2.5080406@starynkevitch.net \
--to=basile@starynkevitch.net \
--cc=gcc@gcc.gnu.org \
--cc=puzzlesdj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).