aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-11-19 14:20:12 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2019-11-19 14:20:12 +0000
commit24851701582dd5d3cfb39d946c949289756b7553 (patch)
treecf831d70c50c06f72d72675238fc8dd16d297389 /gcc
parent89842a5104770789045e4a89fd9e0eaa31abf6a8 (diff)
downloadgcc-24851701582dd5d3cfb39d946c949289756b7553.zip
gcc-24851701582dd5d3cfb39d946c949289756b7553.tar.gz
gcc-24851701582dd5d3cfb39d946c949289756b7553.tar.bz2
[Arm] Set Armv7-A tune to Cortex-A53
By default Armv7-A tunes for Cortex-A8. This is an ancient core today and the settings are no longer useful for newer cores. So switch to Cortex-A53 tuning since it works well across a wide range of modern cores. On SPECINT2006 the performance gain is 0.7% compared to Cortex-A8 tuning, and codesize reduces by 0.2%. gcc/ * config/arm/arm-cpus.in (armv7): Set tune to Cortex-A53. (armv7-a): Likewise. (armv7ve): Likewise. From-SVN: r278447
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arm/arm-cpus.in6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 99d6a51..db83c91 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-11-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * config/arm/arm-cpus.in (armv7): Set tune to Cortex-A53.
+ (armv7-a): Likewise.
+ (armv7ve): Likewise.
+
2019-11-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/92581
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
index 50379a0..44e6cc6 100644
--- a/gcc/config/arm/arm-cpus.in
+++ b/gcc/config/arm/arm-cpus.in
@@ -415,7 +415,7 @@ begin arch armv6s-m
end arch armv6s-m
begin arch armv7
- tune for cortex-a8
+ tune for cortex-a53
tune flags CO_PROC
base 7
isa ARMv7
@@ -426,7 +426,7 @@ begin arch armv7
end arch armv7
begin arch armv7-a
- tune for cortex-a8
+ tune for cortex-a53
tune flags CO_PROC
base 7A
profile A
@@ -451,7 +451,7 @@ begin arch armv7-a
end arch armv7-a
begin arch armv7ve
- tune for cortex-a8
+ tune for cortex-a53
tune flags CO_PROC
base 7A
profile A