This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimizations
2011/7/20 Ian Lance Taylor <iant@google.com>:
> Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> writes:
>
>> And generally speaking, is the tree generation influenced by the RTL
>> description in any way ?
>
> Yes, the loop optimizer uses RTL costs to select code sequences.
OK, I will check my rtx cost...
BTW, should the cost of RTXs depend on optimize_size to reflect either
the code size or the "execution time"?
Thanks for your help!
Aurélien