This is the mail archive of the gcc-patches@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] |
On 11/18/2010 11:34 AM, Bernd Schmidt wrote:Right.On 11/18/2010 03:46 PM, Jeff Law wrote:It depends on how soon we find all of the spills.Isn't this quadratic in the number of insns?Basically we start searching forward in the stream from the current insn needing a reload noting uses of spill regs as we go.
Not exactly.If we fail to find them all, for every insn, then yes quadratic on the size of the block. If there's 1 spill per insn and we always find it at the next insn, then it's linear.
Perhaps Jeff has some data on how much scanning we do in practice?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |