re PR target/80695 (gratuitous use of stxvx to store multiple pointers)

2017-07-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR target/80695
	* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost):
	Reduce cost estimate for direct moves.

From-SVN: r250461
This commit is contained in:
Bill Schmidt 2017-07-23 15:32:37 +00:00 committed by William Schmidt
parent f36dda3b64
commit 3597188b4b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2017-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/80695
* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost):
Reduce cost estimate for direct moves.
2017-07-23 Uros Bizjak <ubizjak@gmail.com>
PR target/80569

View file

@ -5757,7 +5757,7 @@ rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost,
if (TARGET_P9_VECTOR)
return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 2;
else
return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 11;
return TYPE_VECTOR_SUBPARTS (vectype) - 1 + 5;
}
else
/* V2DFmode doesn't need a direct move. */