[Bug tree-optimization/78348] [7 REGRESSION] 15% performance drop for coremark-pro/nnet-test after r242038

vogt at linux dot vnet.ibm.com gcc-bugzilla@gcc.gnu.org
Thu Feb 2 18:42:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78348

--- Comment #10 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
(In reply to Richard Biener from comment #7)
> Author: rguenth
> Date: Wed Nov 16 08:42:20 2016
> New Revision: 242470
> 
> URL: https://gcc.gnu.org/viewcvs?rev=242470&root=gcc&view=rev
> Log:
> 2016-11-16  Richard Biener  <rguenther@suse.de>
> 
> 	PR tree-optimization/78348
> 	* tree-loop-distribution.c (enum partition_kind): Add PKIND_MEMMOVE.
> 	(generate_memcpy_builtin): Honor PKIND_MEMCPY on the partition.
> 	(classify_partition): Set PKIND_MEMCPY if dependence analysis
> 	revealed no dependency, PKIND_MEMMOVE otherwise.
> 
> 	* gcc.dg/tree-ssa/ldist-24.c: New testcase.
> 
> Added:
>     trunk/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/testsuite/ChangeLog
>     trunk/gcc/tree-loop-distribution.c

The new test ldist-24.c fails on s390x:

PASS: gcc.dg/tree-ssa/ldist-24.c (test for excess errors) 
FAIL: gcc.dg/tree-ssa/ldist-24.c scan-tree-dump ldist "generated memcpy" 
FAIL: gcc.dg/tree-ssa/ldist-24.c scan-tree-dump ldist "generated memset zero"

(See dump file in previous comment.)


More information about the Gcc-bugs mailing list