Re: IRA observation/question

2011-05-17 Thread Pat Haugen
On 05/17/2011 11:07 AM, Vladimir Makarov wrote: Thanks for pointing this out, Pat. Your patch could fix this particular problem but using GENERAL_REGS only is wrong. The final allocno class should be NON_SPECIAL_REGS. I will search for a better solution. Unfortunately, such changes in the cod

Re: IRA observation/question

2011-05-17 Thread Vladimir Makarov
On 05/16/2011 05:00 PM, Pat Haugen wrote: I'm seeing some odd behavior in ira for PowerPC, starting with the big ira merge best I can tell (r171649). void foo(float *f1, float*f2) { *f1 = *f2; } If I compile with gcc -S -m64 -O3 -mcpu=power7 and look at the ira dump, I see that the pseudo u

Re: IRA observation/question

2011-05-16 Thread Pat Haugen
On 05/16/2011 04:19 PM, Georg-Johann Lay wrote: Pat Haugen schrieb: I'm seeing some odd behavior in ira for PowerPC, starting with the big ira merge best I can tell (r171649). void foo(float *f1, float*f2) { *f1 = *f2; } If I compile with gcc -S -m64 -O3 -mcpu=power7 and look at the ira dump

Re: IRA observation/question

2011-05-16 Thread Georg-Johann Lay
Pat Haugen schrieb: I'm seeing some odd behavior in ira for PowerPC, starting with the big ira merge best I can tell (r171649). void foo(float *f1, float*f2) { *f1 = *f2; } If I compile with gcc -S -m64 -O3 -mcpu=power7 and look at the ira dump, I see that the pseudo used to copy the data,

IRA observation/question

2011-05-16 Thread Pat Haugen
I'm seeing some odd behavior in ira for PowerPC, starting with the big ira merge best I can tell (r171649). void foo(float *f1, float*f2) { *f1 = *f2; } If I compile with gcc -S -m64 -O3 -mcpu=power7 and look at the ira dump, I see that the pseudo used to copy the data, r120, is spilled. Rel