This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Register pressure analysis


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]