Re: Minor issue with recent code to twiddle costs of pseudos with invariant equivalents

2010-06-11 Thread Jeff Law
On 06/10/10 14:44, Bernd Schmidt wrote: On 06/10/2010 10:37 PM, Jeff Law wrote: Compile the attached with -O2 on x86-unknown-linux-gnu and review the .ira dump for main() starting the processing of deferred insns ending the processing of deferred insns df_analyze called Building IRA IR

Re: Minor issue with recent code to twiddle costs of pseudos with invariant equivalents

2010-06-11 Thread Bernd Schmidt
On 06/11/2010 06:32 PM, Jeff Law wrote: But shouldn't having an invariant form just decrease the priority for pseudo 59 to get a hard register? The NO_REGS preferencing will totally disable register allocation for pseudo 59. And that's intended, because from the costs we've concluded that

Re: Minor issue with recent code to twiddle costs of pseudos with invariant equivalents

2010-06-11 Thread Jeff Law
On 06/11/10 10:48, Bernd Schmidt wrote: On 06/11/2010 06:32 PM, Jeff Law wrote: But shouldn't having an invariant form just decrease the priority for pseudo 59 to get a hard register? The NO_REGS preferencing will totally disable register allocation for pseudo 59. And that's

Re: Minor issue with recent code to twiddle costs of pseudos with invariant equivalents

2010-06-10 Thread Bernd Schmidt
On 06/10/2010 10:37 PM, Jeff Law wrote: Compile the attached with -O2 on x86-unknown-linux-gnu and review the .ira dump for main() starting the processing of deferred insns ending the processing of deferred insns df_analyze called Building IRA IR starting the processing of deferred

Minor issue with recent code to twiddle costs of pseudos with invariant equivalents

2010-06-10 Thread Jeff Law
Compile the attached with -O2 on x86-unknown-linux-gnu and review the .ira dump for main() starting the processing of deferred insns ending the processing of deferred insns df_analyze called Building IRA IR starting the processing of deferred insns ending the processing of deferred insns