public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* about RTL
@ 2004-03-21 11:58 王 逸
  2004-03-21 12:36 ` 王 逸
  0 siblings, 1 reply; 5+ messages in thread
From: 王 逸 @ 2004-03-21 11:58 UTC (permalink / raw)
  To: gcc; +Cc: gcc

[-- 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  

^ permalink raw reply	[flat|nested] 5+ messages in thread
* About RTL
@ 2004-03-21 13:02 王  逸
  2004-03-21 15:28 ` 王  逸
  2004-03-30  1:56 ` Jim Wilson
  0 siblings, 2 replies; 5+ messages in thread
From: 王  逸 @ 2004-03-21 13:02 UTC (permalink / raw)
  To: gcc; +Cc: gcc

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-30  0:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-21 11:58 about RTL 王 逸
2004-03-21 12:36 ` 王 逸
2004-03-21 13:02 About RTL 王  逸
2004-03-21 15:28 ` 王  逸
2004-03-30  1:56 ` Jim Wilson

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