public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sebpop at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/41811] graphite miscompiles 454.calculix of the SPEC 2k6
Date: Fri, 23 Oct 2009 19:54:00 -0000	[thread overview]
Message-ID: <20091023195423.29663.qmail@sourceware.org> (raw)
In-Reply-To: <bug-41811-7780@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]



------- Comment #4 from sebpop at gmail dot com  2009-10-23 19:54 -------
Subject: Re:  graphite miscompiles 454.calculix 
        of the SPEC 2k6

On Fri, Oct 23, 2009 at 14:46, spop at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> and the code generated by CLooG for the interchange looks like this:
>
> for (scat_1=0;scat_1<=2;scat_1++) {
>  for (scat_3=0;scat_3<=2;scat_3++) {
>    S4(scat_1,scat_3) ;
>    for (scat_5=0;scat_5<=2;scat_5++) {
>      S5(scat_1,scat_5,scat_3) ;
>    }
>    S7(scat_1,scat_3) ;
>    S18(scat_1,scat_3) ;
>  }

S7 and S18 should not be generated before S5 finishes to execute over
all the iterations of the original innermost loop (do k=1,20).

S7 and S18 contain the end of the reduction and the write in the array
xs(i,j) that is independent of the k loop.

>  for (scat_3=3;scat_3<=19;scat_3++) {
>    for (scat_5=0;scat_5<=2;scat_5++) {
>      S5(scat_1,scat_5,scat_3) ;
>    }
>  }
> }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41811


  parent reply	other threads:[~2009-10-23 19:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 18:02 [Bug tree-optimization/41811] New: " spop at gcc dot gnu dot org
2009-10-23 18:02 ` [Bug tree-optimization/41811] " spop at gcc dot gnu dot org
2009-10-23 18:16 ` spop at gcc dot gnu dot org
2009-10-23 19:44 ` spop at gcc dot gnu dot org
2009-10-23 19:46 ` spop at gcc dot gnu dot org
2009-10-23 19:54   ` Sebastian Pop
2009-10-23 19:54 ` sebpop at gmail dot com [this message]
2009-10-23 20:52 ` spop at gcc dot gnu dot org
2009-11-03  5:58 ` spop at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091023195423.29663.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).