This is the mail archive of the gcc-help@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] | |
kito wrote:Also note that some spills are significantly more costly than others. Secondary & tertiary reloads, secondary memory and the like all come to mind.That is a wrong way to find real spills. Lines with Spilling is actually reported by reload pass and it means only that reload is checking constraints for insns (it is not real spills). Reload pass can do several such iterations. The more hard registers usages, the more iterations are usually needed. Therefore you are getting that lines with 'Spilling' have -O1 < -O2 < -O3.Hello everybody: I want to count the number of spilling. I have try to compile file with -fdump-rtl-ira And then use `grep Spilling *.ira | wc -l` Does it's right way to get the number of spilling?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |