Paolo Bonzini schrieb:
>> I already had to fix IRA and remove the following part of
>> ira-color.c::assign_hard_reg() because it makes assumptions that do
>> not hold for the machine:
>>
>> if (! allocated_hardreg_p[hard_regno]
>> && ira_hard_reg_not_in_set_p (hard_regno, mode, call_used_reg_set))
>> /* We need to save/restore the hard register in
>> epilogue/prologue. Therefore we increase the cost. */
>> {
>> /* ??? If only part is call clobbered. */
>> rclass = REGNO_REG_CLASS (hard_regno);
>> add_cost = (ira_memory_move_cost[mode][rclass][0]
>> + ira_memory_move_cost[mode][rclass][1] - 1);
>> cost += add_cost;
>> full_cost += add_cost;
>> }
>>
>
> Maybe you can use LOCAL_REGNO here too, and submit a patch for that?
Ok, I will submit a path as soon as the FSF stuff is no issue any more, so it
might take a while...
Georg