public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* number of spills and reloads
@ 2004-08-23 16:04 Qiong Cai
  2004-08-25 23:43 ` James E Wilson
  0 siblings, 1 reply; 9+ messages in thread
From: Qiong Cai @ 2004-08-23 16:04 UTC (permalink / raw)
  To: gcc

Hi,

I'd like to know the number of spills and reloads generated by
register allocator in GCC.   After having a look at the dump after
global register allocation, I found something like the following:
...
Spilling for insn ...
Using reg 1 for reload 0 ...
....

So I add the counter "num_spills" in function "find_reload_regs" and the counter
"num_reloads" in "find_reg" in "reload1.c" just after the instructions
printing out the above information.  Is this correct?  Because the
reload phase is complicated, I'm quite suspicious what I did.

thanks
Qiong

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

end of thread, other threads:[~2004-09-01 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-23 16:04 number of spills and reloads Qiong Cai
2004-08-25 23:43 ` James E Wilson
2004-08-26  9:04   ` Qiong Cai
2004-08-31  0:48     ` James E Wilson
2004-09-01  7:53       ` Qiong Cai
2004-09-01 12:35         ` Joern Rennecke
2004-09-01 14:02           ` Qiong Cai
2004-09-01 15:32             ` Joern Rennecke
2004-09-01 20:18         ` James E 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).