[patch 3/4 v3] Prefetch: Ignore large values of prefetch_before

Christian Borntraeger borntraeger@de.ibm.com
Tue May 11 13:43:00 GMT 2010


Am Dienstag 11 Mai 2010 15:17:18 schrieb H.J. Lu:
> On Tue, May 11, 2010 at 12:41 AM, Andreas Krebbel
> <krebbel@linux.vnet.ibm.com> wrote:
> >> 2010-05-07  Christian Borntraeger<borntraeger@de.ibm.com>
> >>
> >>         * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset
> >>        prefetch_before to PREFETCH_ALL if to accesses "meet" beyond
> >>        cache size.
> >
> > Applied. Thanks!
> >
> 
> I think one of those prefetch changes caused:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44078

From a first look this looks like that the test case scans for
"nontemporal store" which is also emitted by the new debug messages:

-    return false;
+    {
+      if (dump_file && (dump_flags & TDF_DETAILS))
+        fprintf (dump_file, "Ignoring nontemporal store %p\n", (void *) ref);
+      return false;
+    }

I will check if that is the problem. If yes I will probably chang the testcase.

Christian



More information about the Gcc-patches mailing list