public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Register pressure analysis
       [not found] <CAGYS_TLUwcf9E=O6WVzNuMJX1jxY-=DrBCtp1DG+m04qmE1YfA@mail.gmail.com>
@ 2011-07-27 14:33 ` Sergey Ostanevich
  2011-07-27 14:51   ` Vladimir Makarov
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Ostanevich @ 2011-07-27 14:33 UTC (permalink / raw)
  To: gcc

Hello!

Is there any scripts/tools that parse GCC dumps and report register
pressure in the dump - either overall, or in different parts of the
dump?

regards,
Sergos

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

* Re: Register pressure analysis
  2011-07-27 14:33 ` Register pressure analysis Sergey Ostanevich
@ 2011-07-27 14:51   ` Vladimir Makarov
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Makarov @ 2011-07-27 14:51 UTC (permalink / raw)
  To: Sergey Ostanevich; +Cc: gcc

On 07/27/2011 10:26 AM, Sergey Ostanevich wrote:
> Hello!
>
> Is there any scripts/tools that parse GCC dumps and report register
> pressure in the dump - either overall, or in different parts of the
> dump?
>
-fdump-rtl-ira creates an info dump of IRA.  There is info about maximal 
pressure for each region (currently loops) and each register pressure 
class.  Loop 0 corresponds to all program.  By default, a loop region is 
created when register pressure is high.  If you need to see register 
pressure for all loops you can use option -fira-region=all.

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

end of thread, other threads:[~2011-07-27 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAGYS_TLUwcf9E=O6WVzNuMJX1jxY-=DrBCtp1DG+m04qmE1YfA@mail.gmail.com>
2011-07-27 14:33 ` Register pressure analysis Sergey Ostanevich
2011-07-27 14:51   ` Vladimir Makarov

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