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] |
I'd like to know the number of spills and reloads generated by register allocator in GCC.
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |