This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Turning off unrolling to certain loops
- From: Jean Christophe Beyler <jean dot christophe dot beyler at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 5 Oct 2009 16:46:50 -0400
- Subject: Turning off unrolling to certain loops
Dear all,
I was wondering if it was possible to turn off the unrolling to
certain loops. Basically, I'd like the compiler not to consider
certain loops for unrolling but fail to see how exactly I can achieve
that.
I've traced the unrolling code to multiple places in the code (I'm
working with the 4.3.2 version) and, for the moment, I'm trying to
figure out if I can add something in the loop such as a note that I
can later find in the FOR_EACH_LOOP loops in order to turn the
unrolling for that particular loop off.
Have you got any ideas of what I could use like "note" or even a
better idea all together?
Thanks,
Jc