avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Re: [avr-gcc-list] GCC-AVR Register optimisations]


From: Dmitry K.
Subject: Re: [Fwd: Re: [avr-gcc-list] GCC-AVR Register optimisations]
Date: Fri, 11 Jan 2008 17:26:27 +1000
User-agent: KMail/1.5

On Friday 11 January 2008 11:38, Andrew Hutchinson wrote:
> I tried they earlier example:
>
>    char *p1 = x;
>    foo(p1++);
>    foo(p1++);
>    foo(p1++);
[...]
> I am not experienced enough to know why gcc cannot optimise this case.
> But it looks like a weakness with gcc (not gcc-avr)

Possible, yes.
Some another targets of GCC 4.2.2:
  pdp11       --> ugly
  arm/thumb   --> ugly
  arm/arm     --> OK

Regards,
Dmitry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]