This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: loop-unrolling in gcc-4.6.2
On 26/11/2012, at 9:31 PM, naga raj wrote:
> On Mon, Nov 26, 2012 at 12:13 PM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
>> --param
>
> Thanks Maxim Kuvyrkov for your inputs. I have tried all the flags that
> you have suggested but they didn't help.
>
> As you suggested I will investigate where this loop-unrolling is
> blocked but are there any specific areas to be look in to the target
> regarding this??
I doubt you can productively troubleshoot this without a compiler built for debugging (i.e., non-boostrapped built with "-O0 -g"). When you have that, you can start stepping through loop optimizers and check why they are deciding not to unroll your loops.
--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics