From 77718e5b7d3a7755fe8407a7fcb34fc0e684e7a6 Mon Sep 17 00:00:00 2001 From: Przemyslaw Wirkus Date: Wed, 30 Sep 2020 14:52:31 +0100 Subject: [PATCH] [GAS][AArch64] Add support for Cortex-A78 and Cortex-A78AE * config/tc-aarch64.c: Add Cortex-A78 and Cortex-A78AE cores. * doc/c-aarch64.texi: Update docs. * NEWS: Update news. --- gas/ChangeLog | 6 ++++++ gas/NEWS | 2 ++ gas/config/tc-aarch64.c | 14 ++++++++++++++ gas/doc/c-aarch64.texi | 2 ++ 4 files changed, 24 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 60a952bd924..100d8172249 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2020-09-30 Przemyslaw Wirkus + + * config/tc-aarch64.c: Add Cortex-A78 and Cortex-A78AE cores. + * doc/c-aarch64.texi: Update docs. + * NEWS: Update news. + 2020-09-30 Alex Coplan * NEWS: Mention recent Arm processor support. diff --git a/gas/NEWS b/gas/NEWS index fe47f5cd7b7..12f5f4baae7 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,4 +1,6 @@ -*- text -*- +* Add support for Cortex-A78 and Cortex-A78AE for AArch64. + * Add support for ETMv4 (Embedded Trace Macrocell) system registers for AArch64. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 8c40a68a307..21728fbb1b8 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8934,6 +8934,20 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { | AARCH64_FEATURE_DOTPROD | AARCH64_FEATURE_SSBS), "Cortex-A65AE"}, + {"cortex-a78", AARCH64_FEATURE (AARCH64_ARCH_V8_2, + AARCH64_FEATURE_F16 + | AARCH64_FEATURE_RCPC + | AARCH64_FEATURE_DOTPROD + | AARCH64_FEATURE_SSBS + | AARCH64_FEATURE_PROFILE), + "Cortex-A78"}, + {"cortex-a78ae", AARCH64_FEATURE (AARCH64_ARCH_V8_2, + AARCH64_FEATURE_F16 + | AARCH64_FEATURE_RCPC + | AARCH64_FEATURE_DOTPROD + | AARCH64_FEATURE_SSBS + | AARCH64_FEATURE_PROFILE), + "Cortex-A78AE"}, {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2, AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index e45f4798451..3dc982882db 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -68,6 +68,8 @@ on the target processor. The following processor names are recognized: @code{cortex-a76}, @code{cortex-a76ae}, @code{cortex-a77}, +@code{cortex-a78}, +@code{cortex-a78ae}, @code{ares}, @code{exynos-m1}, @code{falkor}, -- 2.30.2