rs600.c (rs6000_builtin_vectorization_cost): Adjust unaligned load cost.

2016-12-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs600.c (rs6000_builtin_vectorization_cost):
	Adjust unaligned load cost.

From-SVN: r243623
This commit is contained in:
Bill Schmidt 2016-12-13 20:05:10 +00:00 committed by William Schmidt
parent 7a28353e36
commit 2de1796a6b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-12-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs600.c (rs6000_builtin_vectorization_cost):
Adjust unaligned load cost.
2016-12-13 Uros Bizjak <ubizjak@gmail.com>
PR target/78794

View File

@ -5358,6 +5358,9 @@ rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost,
return 3;
case unaligned_load:
if (TARGET_P9_VECTOR)
return 3;
if (TARGET_EFFICIENT_UNALIGNED_VSX)
return 1;