summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2017-07-26 23:31:26 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2017-07-26 23:31:26 +0000
commit016b4ff4475c37b61c88b48373dc56eb3df7828f (patch)
tree44525ecbba2cf703357bc9244bb9952bdf6e3598 /gcc
parenta12937bc6cabe4ecb998b2d0db3b7fb897989cc3 (diff)
downloadgcc-016b4ff4475c37b61c88b48373dc56eb3df7828f.tar.gz
2017-07-26 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (thunderx_vector_cost): Decrease cost of vec_unalign_load_cost and vec_unalign_store_cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250597 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc7f1f997f6..6866087dbea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-26 Andrew Pinski <apinski@cavium.com>
+
+ * config/aarch64/aarch64.c (thunderx_vector_cost): Decrease cost of
+ vec_unalign_load_cost and vec_unalign_store_cost.
+
2017-07-26 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Delete
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 14a93665ed4..092ef10b7b8 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -363,8 +363,8 @@ static const struct cpu_vector_cost thunderx_vector_cost =
2, /* vec_to_scalar_cost */
2, /* scalar_to_vec_cost */
3, /* vec_align_load_cost */
- 10, /* vec_unalign_load_cost */
- 10, /* vec_unalign_store_cost */
+ 5, /* vec_unalign_load_cost */
+ 5, /* vec_unalign_store_cost */
1, /* vec_store_cost */
3, /* cond_taken_branch_cost */
3 /* cond_not_taken_branch_cost */