This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM] Add support for -mcpu=cortex-a72

On 04/02/15 13:37, James Greenhalgh wrote:
On Wed, Feb 04, 2015 at 01:23:06PM +0000, Ramana Radhakrishnan wrote:
On Wed, Feb 4, 2015 at 10:36 AM, Matthew Wahab <> wrote:

The Cortex-A72 is an ARMv8 core with the same architectural features as the
Cortex-A57. This patch adds support for the command line option
-mcpu=cortex-a72 with the same effect as the -mcpu=cortex-a57 option, with
only the name being different. It also adds support for the
-mcpu=cortex-a72.cortex-a53 big-little variant.

Tested with check-gcc for arm-none-linux-gnueabihf. Tested the new cpu
options from the command line.


2015-02-04  Matthew Wahab  <>

         * config/arm/arm-cores.def: Add cortex-a72 and
         * config/arm/bpabi.h (BE8_LINK_SPEC): Likewise.
         * config/arm/t-aprofile (MULTILIB_MATCHES): Likewise.
         * config/arm/ Regenerate.
         * config/arm/arm-tables.opt: Add entries for "cortex-a72" and
         * doc/invoke.texi (ARM Options/-mtune): Likewise.

This is OK - it's purely wiring up a new name and treating that the
same as an existing tune. No new functionality and no point in waiting
for a year for this cpu option to be available for folks.
On Matthew's (offline) request, I've installed this as r220399 with the
following minor change:

I guess we now need the wwwdocs changes.html update for arm and aarch64 to let users know.


+@samp{cortex-a15.cortex-a7}, @samp{cortex-a57.cortex-a53}, @samp{cortex-a72.cortex-a53}.
Split this long line:

+@samp{cortex-a15.cortex-a7}, @samp{cortex-a57.cortex-a53},
As so.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]