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 12:36:00 -0000	[thread overview]
Message-ID: <Sea1-F115q8hZYNX6Mm00001594@hotmail.com> (raw)
Message-ID: <20040321123600.cxTBdNgs6gjfPCnUFTem-WmZoVt3r4zJf_OL8J6h0lg@z> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 1045 bytes --]

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.

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn  

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21 11:58 王 逸 [this message]
2004-03-21 12:36 ` 王 逸
2004-03-21 13:02 About RTL 王  逸
2004-03-21 15:28 ` 王  逸
2004-03-30  1:56 ` Jim Wilson

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-F115q8hZYNX6Mm00001594@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).