Re: IRA memory cost calculation

2009-12-01 Thread Michael Eager
Jeff Law wrote: On 11/30/09 14:48, Michael Eager wrote: Jeff Law wrote: On 11/30/09 14:17, Michael Eager wrote: I've run into a situation where assign_hard_reg() decides that there are no registers available. That can certainly happen. It's also the case that assign_hard_reg may decide that

Re: IRA memory cost calculation

2009-11-30 Thread Michael Eager
Jeff Law wrote: On 11/30/09 14:48, Michael Eager wrote: Jeff Law wrote: On 11/30/09 14:17, Michael Eager wrote: I've run into a situation where assign_hard_reg() decides that there are no registers available. That can certainly happen. It's also the case that assign_hard_reg may decide that

Re: IRA memory cost calculation

2009-11-30 Thread Jeff Law
On 11/30/09 14:48, Michael Eager wrote: Jeff Law wrote: On 11/30/09 14:17, Michael Eager wrote: I've run into a situation where assign_hard_reg() decides that there are no registers available. That can certainly happen. It's also the case that assign_hard_reg may decide that memory is cheaper

Re: IRA memory cost calculation

2009-11-30 Thread Michael Eager
Jeff Law wrote: On 11/30/09 14:17, Michael Eager wrote: I've run into a situation where assign_hard_reg() decides that there are no registers available. That can certainly happen. It's also the case that assign_hard_reg may decide that memory is cheaper than a register and refuse to assign a

Re: IRA memory cost calculation

2009-11-30 Thread Jeff Law
On 11/30/09 14:17, Michael Eager wrote: I've run into a situation where assign_hard_reg() decides that there are no registers available. That can certainly happen. It's also the case that assign_hard_reg may decide that memory is cheaper than a register and refuse to assign a register for cert

IRA memory cost calculation

2009-11-30 Thread Michael Eager
I've run into a situation where assign_hard_reg() decides that there are no registers available. This results in a memory reference being substituted for a pseudo-register. There's no check to see if the modified instruction is valid, which it isn't. There are a lot of live registers and it is