aarch64: Add support for Cortex-A78C
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 23 Nov 2020 10:03:36 +0000 (10:03 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 23 Nov 2020 10:06:15 +0000 (10:06 +0000)
This patch adds support for -mcpu=cortex-a78c command line option.
For more information about this processor, see [0]:

[0] https://developer.arm.com/ip-products/processors/cortex-a/cortex-a78c

gas/ChangeLog
gas/NEWS
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi

index f9363a6f499629c9781c225d8ed5e05ad3e171d5..b967e201ca68e06733c7accd80a8d756dcac956a 100644 (file)
@@ -1,3 +1,9 @@
+2020-11-04  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A78C.
+       * doc/c-aarch64.texi: Document -mcpu=cortex-a78c.
+       * doc/NEWS: Update news.
+
 2020-11-19  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * testsuite/gas/elf/section22.d: Allow FreeBSD OSABI in readelf
index f44861cd6fb377b2b5373c57812aa98662d54b43..3105f46f5edaef90abfa08dbe9b3b3e88665a3b9 100644 (file)
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -11,7 +11,8 @@
 * When setting the link order attribute of ELF sections, it is now possible to
   use a numeric section index instead of symbol name.
 
-* Add support for Cortex-A78, Cortex-A78AE and Cortex-X1 for AArch64 and ARM.
+* Add support for Cortex-A78, Cortex-A78AE, Cortex-A78C and Cortex-X1 for
+  AArch64 and ARM.
   Add support for Cortex-R82, Neoverse V1, and Neoverse N2 for ARM.
 
 * Add support for ETMv4 (Embedded Trace Macrocell), ETE (Embedded Trace
index 43273330376e851fcf690d2d93b5f4bdc0d52d75..c9040a08ad83a01bbe3d2c7febc41b45c91a8abd 100644 (file)
@@ -9039,6 +9039,15 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                    | AARCH64_FEATURE_SSBS
                    | AARCH64_FEATURE_PROFILE),
    "Cortex-A78AE"},
+  {"cortex-a78c", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+                   AARCH64_FEATURE_DOTPROD
+                   | AARCH64_FEATURE_F16
+                   | AARCH64_FEATURE_FLAGM
+                   | AARCH64_FEATURE_PAC
+                   | AARCH64_FEATURE_PROFILE
+                   | AARCH64_FEATURE_RCPC
+                   | AARCH64_FEATURE_SSBS),
+   "Cortex-A78C"},
   {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
                                  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
                                  | AARCH64_FEATURE_DOTPROD
index 6031cf34dfb7514863b5a2770325bc88c25655a4..336f1b71f7a63933241f4edd78489cd009be2823 100644 (file)
@@ -70,6 +70,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a77},
 @code{cortex-a78},
 @code{cortex-a78ae},
+@code{cortex-a78c},
 @code{ares},
 @code{exynos-m1},
 @code{falkor},