This is the mail archive of the gcc-patches@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: [patch] PR44185 Fix new prefetch test failures - second


Hi,

> Attached is the patch to fix PR 44185: new prefetch failures. After the previous fix
> of gcc.dg/tree-ssa/prefetch-c, new failure occurs because the number of non-temporal
> stores is different in the assembler and .optimized files for different architectures. The
> reason is that the unroll_factor is different (and this is why in the original test case the unroll
> factor is limited to 1).
> 
> In this patch, we don't count the exact number of non-temporal stores in the assembler and
> .optimized files. Instead, we just scan for the existence.
> 
> Is it OK for the trunk?

yes, overall; but, with this change, we would not recognize if some change
breaks the optimization for just one of the loops.  I guess the test needs to
be split to several testcases, one for each loop,

Zdenek


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