aarch64: Enable Cortex-A510 CPU
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 30 Sep 2021 19:50:37 +0000 (20:50 +0100)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 30 Sep 2021 19:50:37 +0000 (20:50 +0100)
This patch is adding support for Cortex-A510 CPU.

gas/

* NEWS: Update docs.
* config/tc-aarch64.c: Add Cortex-A510.
* doc/c-aarch64.texi: Update docs.

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

index 258a1569a3befd8b465fbe1ea200336c82f416ef..fbd891a904d72b2bbbbda49894f13a8b3fbbacd3 100644 (file)
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* Add support for Cortex-A510 for AArch64.
+
 * Outputs of .ds.x directive and .tfloat directive with hex input from
   x86 assembler have been reduced from 12 bytes to 10 bytes to match the
   output of .tfloat directive.
index 087f88ef173cd7a6167d5e5ce578036efe933c64..573633f9b45a1386ecc8de083349541552277e9c 100644 (file)
@@ -9051,6 +9051,12 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                    | AARCH64_FEATURE_RCPC
                    | AARCH64_FEATURE_SSBS),
    "Cortex-A78C"},
+  {"cortex-a510", AARCH64_FEATURE (AARCH64_ARCH_V9,
+                  AARCH64_FEATURE_BFLOAT16
+                  | AARCH64_FEATURE_I8MM
+                  | AARCH64_FEATURE_MEMTAG
+                  | AARCH64_FEATURE_SVE2_BITPERM),
+   "Cortex-A510"},
   {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
                                  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
                                  | AARCH64_FEATURE_DOTPROD
index 18b7dd7922de80c33e8c5ebc4e6d71756335e79a..3c9aeb0a4de4a4a484db9dd5d08d2c83ce883a19 100644 (file)
@@ -71,6 +71,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a78},
 @code{cortex-a78ae},
 @code{cortex-a78c},
+@code{cortex-a510},
 @code{ares},
 @code{exynos-m1},
 @code{falkor},