2019-03-18 Richard Biener <rguenther@suse.de>
PR target/87561
* config/i386/i386.c (ix86_add_stmt_cost): Pessimize strided
loads and stores a bit more.
From-SVN: r269754
+2019-03-18 Richard Biener <rguenther@suse.de>
+
+ PR target/87561
+ * config/i386/i386.c (ix86_add_stmt_cost): Pessimize strided
+ loads and stores a bit more.
+
2019-03-18 Richard Biener <rguenther@suse.de>
PR target/87561
&& 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);