From: Richard Biener Date: Mon, 18 Mar 2019 09:17:43 +0000 (+0000) Subject: re PR target/87561 (416.gamess is slower by ~10% starting from r264866 with -Ofast) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d7d1ce83889ee17fbf7fb8aadf23e1f5179b9ce;p=gcc.git re PR target/87561 (416.gamess is slower by ~10% starting from r264866 with -Ofast) 2019-03-18 Richard Biener PR target/87561 * config/i386/i386.c (ix86_add_stmt_cost): Pessimize strided loads and stores a bit more. From-SVN: r269754 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a67a0bf7441..1da0fe3cfce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-03-18 Richard Biener + + PR target/87561 + * config/i386/i386.c (ix86_add_stmt_cost): Pessimize strided + loads and stores a bit more. + 2019-03-18 Richard Biener PR target/87561 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 67af1374ed6..560170f56db 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -50572,7 +50572,7 @@ ix86_add_stmt_cost (void *data, int count, enum vect_cost_for_stmt kind, && TREE_CODE (DR_STEP (STMT_VINFO_DATA_REF (stmt_info))) != INTEGER_CST) { stmt_cost = ix86_builtin_vectorization_cost (kind, vectype, misalign); - stmt_cost *= TYPE_VECTOR_SUBPARTS (vectype); + stmt_cost *= (TYPE_VECTOR_SUBPARTS (vectype) + 1); } if (stmt_cost == -1) stmt_cost = ix86_builtin_vectorization_cost (kind, vectype, misalign);