Re: IRA accumulated costs

2008-11-06 Thread Jeff Law
Vladimir Makarov wrote: Hi, Richard. Returning to accurate cost accumulation issue you found recently. Here is the patch fixing it. You could try, if you want, how MIPS will behave with it. The patch also more accurately calculates ALLOCNO_CALL_FREQ which affects decision to spill allocno

Re: IRA accumulated costs

2008-10-16 Thread Richard Sandiford
"H.J. Lu" <[EMAIL PROTECTED]> writes: >> Even so, I'm now fairly confident that we should put GR_REGS and ACC_REGS >> in the same cover class, which was the main area of doubt. I'll therefore >> commit the MIPS port in a sec. Is it OK if I commit it to ira-merge >> as well? >> > > Please commit i

Re: IRA accumulated costs

2008-10-14 Thread H.J. Lu
On Wed, Oct 15, 2008 at 2:35 AM, Richard Sandiford <[EMAIL PROTECTED]> wrote: > Even so, I'm now fairly confident that we should put GR_REGS and ACC_REGS > in the same cover class, which was the main area of doubt. I'll therefore > commit the MIPS port in a sec. Is it OK if I commit it to ira-me

Re: IRA accumulated costs

2008-10-14 Thread Richard Sandiford
Hi Vlad, Sorry for the slow reply. Vladimir Makarov <[EMAIL PROTECTED]> writes: > Hi, Richard. Returning to accurate cost accumulation issue you found > recently. Here is the patch fixing it. You could try, if you want, how > MIPS will behave with it. The patch also more accurately calcula

Re: IRA accumulated costs

2008-10-01 Thread Richard Sandiford
Vladimir Makarov <[EMAIL PROTECTED]> writes: > Hi, Richard. Returning to accurate cost accumulation issue you found > recently. Here is the patch fixing it. You could try, if you want, how > MIPS will behave with it. The patch also more accurately calculates > ALLOCNO_CALL_FREQ which affect

Re: IRA accumulated costs

2008-10-01 Thread Richard Sandiford
Hi Vlad, Thanks for the great reply, and sorry for not replying sooner. Things have been a bit hectic for me recently. Vladimir Makarov <[EMAIL PROTECTED]> writes: > Richard Sandiford wrote: >> Although I suspect it isn't intentional, I can imagine it doesn't show >> up much on targets whose memo

Re: IRA accumulated costs

2008-10-01 Thread Vladimir Makarov
Hi, Richard. Returning to accurate cost accumulation issue you found recently. Here is the patch fixing it. You could try, if you want, how MIPS will behave with it. The patch also more accurately calculates ALLOCNO_CALL_FREQ which affects decision to spill allocno in assign_hard_reg if it

Re: IRA accumulated costs

2008-09-29 Thread Vladimir Makarov
Richard Sandiford wrote: If PARENT_A is a parent of allocno A, propagate_allocno_info does the equivalent of: ALLOCNO_HARD_REG_COSTS(parent_a)[i] += ALLOCNO_HARD_REG_COSTS(a)[i] which is what you'd expect from the comments. But after that, should each update ALLOCNO_HARD_REG_COSTS(a)[i] be

IRA accumulated costs

2008-09-27 Thread Richard Sandiford
I've a question about the way IRA accumulates information from nested regions into parent regions. ira-int.h says: /* Accumulated usage references of the allocno. Here and below, word 'accumulated' means info for given region and all nested subregions. In this case, 'accumulated' me