public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "王  逸" <cnnjuwy@hotmail.com>
To: <gcc@gnu.org>
Cc: <gcc@gcc.gnu.org>
Subject: About RTL
Date: Sun, 21 Mar 2004 15:28:00 -0000	[thread overview]
Message-ID: <Sea1-DAV37wgxgoNrRJ0000150e@hotmail.com> (raw)
Message-ID: <20040321152800.3WyX7MgNk0xjyxbu-eeg0OQ2pWDkqrlrFSldJtPhTTc@z> (raw)

Hi, I'm thinking of patching GCC so that the compiler may automatically insert some instructions in the final excutable objects.

I would like to do this at the RTL generation phase. But I've some questions:

1. I used "gcc -dr *.c" command to dump RTL code, but only got the RTL code for main function. 
   (It begins with "; Main Function", so I guess it does not express the whole program.)
   How can I get the whole program's RTL representation?
2. I'm not familiar with GCC and RTL, how can I get some resources about them? 
   (except GCC internals, I've already got one.)
3. Which files are related to RTL generation in the GCC source? I'd like to read some of them.

thx for reading!
                                                                                            Wang Yi
                                                                Graduate Student@ Dept. of C.S. NanJing Univ. P.R.C.

             reply	other threads:[~2004-03-21  2:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21 13:02 王  逸 [this message]
2004-03-21 15:28 ` 王  逸
2004-03-30  1:56 ` Jim Wilson
  -- strict thread matches above, loose matches on Subject: below --
2004-03-21 11:58 about RTL 王 逸
2004-03-21 12:36 ` 王 逸

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=Sea1-DAV37wgxgoNrRJ0000150e@hotmail.com \
    --to=cnnjuwy@hotmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gcc@gnu.org \
    /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).