This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to remove stall at shed2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]