From 1e29262747bed568c673b8765d214a4a16772da1 Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Wed, 21 Jun 2017 09:13:25 +0100 Subject: [PATCH] Add support for the Cortex-A55 and Cortex-A75 versions of the AArch64 architecture. * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75. * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 6 ++++++ gas/doc/c-aarch64.texi | 2 ++ 3 files changed, 13 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 38ffc663396..2e7e1852894 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2017-06-21 James Greenhalgh + + * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75. + * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75. + 2017-06-15 H.J. Lu PR binutils/21594 diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index be01bdd1432..fae29b4f47e 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8395,6 +8395,12 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { AARCH64_FEATURE_CRC), "Cortex-A72"}, {"cortex-a73", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC), "Cortex-A73"}, + {"cortex-a55", AARCH64_FEATURE (AARCH64_ARCH_V8_2, + AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16), + "Cortex-A55"}, + {"cortex-a75", AARCH64_FEATURE (AARCH64_ARCH_V8_2, + AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16), + "Cortex-A75"}, {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), "Samsung Exynos M1"}, diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 2a01c3f5e7f..24775553cda 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -57,9 +57,11 @@ message if an attempt is made to assemble an instruction which will not execute on the target processor. The following processor names are recognized: @code{cortex-a35}, @code{cortex-a53}, +@code{cortex-a55}, @code{cortex-a57}, @code{cortex-a72}, @code{cortex-a73}, +@code{cortex-a75}, @code{exynos-m1}, @code{falkor}, @code{qdf24xx}, -- 2.30.2