aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-09-30 20:50:37 +0100
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2021-09-30 20:50:37 +0100
commit98ab23ab20651137be7a258b757cda011a52a727 (patch)
tree6842945a2918dbe7d1e0c34e7a296745650723d1
parentb18be12aeaa97deba5cf104459514fe16f5de249 (diff)
downloadgdb-98ab23ab20651137be7a258b757cda011a52a727.zip
gdb-98ab23ab20651137be7a258b757cda011a52a727.tar.gz
gdb-98ab23ab20651137be7a258b757cda011a52a727.tar.bz2
aarch64: Enable Cortex-A510 CPU
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.
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-aarch64.c6
-rw-r--r--gas/doc/c-aarch64.texi1
3 files changed, 9 insertions, 0 deletions
diff --git a/gas/NEWS b/gas/NEWS
index 258a156..fbd891a 100644
--- 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.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 087f88e..573633f 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -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
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 18b7dd7..3c9aeb0 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -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},