[binutils-gdb] aarch64: Enable Cortex-A510 CPU
Przemyslaw Wirkus
wirkus@sourceware.org
Thu Sep 30 20:22:05 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=98ab23ab20651137be7a258b757cda011a52a727
commit 98ab23ab20651137be7a258b757cda011a52a727
Author: Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Date: Thu Sep 30 20:50:37 2021 +0100
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.
Diff:
---
gas/NEWS | 2 ++
gas/config/tc-aarch64.c | 6 ++++++
gas/doc/c-aarch64.texi | 1 +
3 files changed, 9 insertions(+)
diff --git a/gas/NEWS b/gas/NEWS
index 258a1569a3b..fbd891a904d 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 087f88ef173..573633f9b45 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 18b7dd7922d..3c9aeb0a4de 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},
More information about the Binutils-cvs
mailing list