[AArch64] [0/5 -mtune cleanup] Update options for -mtune.

Marcus Shawcroft marcus.shawcroft@arm.com
Thu Nov 14 10:24:00 GMT 2013


On 13/11/13 15:32, James Greenhalgh wrote:
> Hi,
>
> This patch series performs a number of cleanups to the
>   -mtune/-mcpu/-march infrastructure for AArch64.
>
> Our goals are:
>
>    * Remove the example pipeline models.
>    * Tune for Cortex-A53 by default.
>    * Provide sensible tuning for Cortex-A57.
>
> The patches which implement these goals are:
>
> [AArch64] [-mtune cleanup 1/5] Remove -march=generic.
>    -march=generic has no sensible meaning - remove it.
>
> [AArch64] [-mtune cleanup 2/5] Tune for Cortex-A53 by default.
>    The current "generic" scheduler is not very smart. We would like
>    to try to tune for something sensible when given -march=armv8-a.
>    As it is currently the only pipeline model we have implemented,
>    tuning for the Cortex-A53 seems a pragmatic decision.
>
> [AArch64] [-mtune cleanup 3/5] [Temporary] When asked to tune for
>      Cortex-A57, tune for Cortex-A15
>    Cortex-A57 is a "big" core. We do not yet have a pipeline model
>    for Cortex-A57, so it would be sensible in the interim to tune for
>    another "big" core.
>
> [AArch64] [-mtune cleanup 4/5] Remove "example-1", "example-2" tuning
>      options.
>    These were transitory options which would give example tunings for
>    a "big" core and a "little" core. Now we have "cortex-a57" and
>    "cortex-a53" wired up, they are not needed.
>
> [AArch64] [-mtune cleanup 5/5] Update invoke.texi
>    Finally, update the documentation for the above changes.
>
> The patch series has been regression tested for aarch64-none-elf
> with no issues.
>
> OK?


These 5 patches are all OK
/Marcus




More information about the Gcc-patches mailing list