Unable to remove stall at shed2

Ian Lance Taylor iant@google.com
Wed Aug 8 13:50:00 GMT 2012


On Wed, Aug 8, 2012 at 4:38 AM, shweta_guptasairam
<er.shwetagupta.edu@gmail.com> wrote:
>
> This stall is not getting removed in sched2 also
> r0=[ar6-0x34]
> [ar0++]=r0
>  ar2=[ar6-0x30]
> [ar0++]=ar2
>  ar1=[ar6-0x2c]
>  [ar0++]=ar1

This looks like a memory aliasing issue.  In order to rearrange this
code to avoid the stalls, the compiler needs to know for sure that the
writes through ar0 do not change the memory that ar6 points to.

Ian



More information about the Gcc-help mailing list