This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unable to remove stall at shed2
- From: Ian Lance Taylor <iant at google dot com>
- To: shweta_guptasairam <er dot shwetagupta dot edu at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 8 Aug 2012 06:50:05 -0700
- Subject: Re: Unable to remove stall at shed2
- References: <34271197.post@talk.nabble.com>
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