aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAnton Youdkevitch <anton.youdkevitch@bell-sw.com>2019-11-05 12:07:53 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2019-11-05 12:07:53 +0000
commit5aef51c2199f69885a43592db3a1ec15f43f4064 (patch)
tree9888b1756735b62776655eaa948ead48faf33e6f /gcc
parentdd2f3208c17a65184e4f4271e41fce7c7cddebc5 (diff)
downloadgcc-5aef51c2199f69885a43592db3a1ec15f43f4064.zip
gcc-5aef51c2199f69885a43592db3a1ec15f43f4064.tar.gz
gcc-5aef51c2199f69885a43592db3a1ec15f43f4064.tar.bz2
[Aarch64] Fix vec_perm cost for thunderx2t99
Here is the one-liner that fixes the incorrect vec_perm cost for thunderx2t99 chip. With the patch applied 526.blender of CPU2017 gets ~5% improvement with no measurable changes for other benchmarks. 2019-11-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com> * config/aarch64/aarch64.c (thunderx2t99_vector_cost): Change vec_perm field to 10. From-SVN: r277826
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1b80d2c..cf6aa5c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
+
+ * config/aarch64/aarch64.c (thunderx2t99_vector_cost):
+ Change vec_perm field to 10.
+
2019-11-05 Arnaud Charlet <charlet@adacore.com>
* doc/install.texi: Further fix syntax for html generation.
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 599d07a..f28fe80 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -585,7 +585,7 @@ static const struct cpu_vector_cost thunderx2t99_vector_cost =
1, /* scalar_store_cost */
5, /* vec_int_stmt_cost */
6, /* vec_fp_stmt_cost */
- 3, /* vec_permute_cost */
+ 10, /* vec_permute_cost */
6, /* vec_to_scalar_cost */
5, /* scalar_to_vec_cost */
8, /* vec_align_load_cost */