[Arm] Modify default tuning of armv8.1-m.main to use Cortex-M55
authorOmar Tahir <omar.tahir@arm.com>
Tue, 4 Aug 2020 16:35:18 +0000 (17:35 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 4 Aug 2020 16:37:01 +0000 (17:37 +0100)
commit079b13f64cee9d6c208c9c490ab6b35055c299ce
tree8089a740d9b0ffb7644be5262065c18f702a336d
parent03c547d6659cbd3dec594aa801d94f68305c3652
[Arm] Modify default tuning of armv8.1-m.main to use Cortex-M55

Previously, compiling with -march=armv8.1-m.main would tune for
Cortex-M7.
However, the Cortex-M7 only supports up to Armv7e-M. The Cortex-M55 is
the earliest CPU that supports Armv8.1-M Mainline so is more appropriate.
This also has the effect of changing the branch cost function used, which
will be necessary to correctly prioritise conditional instructions over branches
in the rest of this patch series.

Regression tested on arm-none-eabi.

gcc/ChangeLog

2020-08-04  Omar Tahir  <omar.tahir@arm.com>

* config/arm/arm-cpus.in (armv8.1-m.main): Tune for Cortex-M55.
gcc/config/arm/arm-cpus.in