Re: check_ext_dependent_givs

2005-05-13 Thread Canqun Yang
Hi, all, I do not want to modify the old loop optimizer defined in loop.c. I am preparing to port some improvements done on gcc-3.5 to gcc-4.0, and the GIV optimizations is one of my concerns. On IA-64, the GIV optimizations can hardly improve the performance. The reason is that check_ext_de

Re: check_ext_dependent_givs

2005-05-12 Thread Paolo Bonzini
I modified the code in check_ext_dependent_givs to let the BIVs always successfully pass the check, then test the example you have given to me, but the result is the same as before. It depends on whether the old loop optimizer will actually decide that it is worthwhile to use the induction var

Re: check_ext_dependent_givs

2005-05-12 Thread Canqun Yang
Hi, Bonzini, Thank you for your reponse. I do not want to modify the old loop optimizer defined in loop.c. I am preparing to port some improvements done on gcc-3.5 to gcc-4.0, and the GIV optimizations is part of my concerns. On IA-64, the GIV optimization can hardly improve the performance.

Re: check_ext_dependent_givs

2005-05-06 Thread Paolo Bonzini
Canqun Yang wrote: Hi, all, Is there anyone familiar with the check routine check_ext_dependent_givs defined loop.c, and give me an example explaining why it is needed. You should not look at loop.c to modify it, because it will hopefully disappear before 4.1. But basically, that function looks