aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Ball <richard.ball@arm.com>2023-08-10 15:11:37 +0100
committerRichard Ball <richard.ball@arm.com>2023-08-10 15:12:23 +0100
commit67bed49ec852aee39172fc867a89ec78c4903883 (patch)
tree3e542470cc51350bc9a7b068e614f5364dca0fce /gas
parent698652da9364297319288293199cdb1f77d36466 (diff)
downloadgdb-67bed49ec852aee39172fc867a89ec78c4903883.zip
gdb-67bed49ec852aee39172fc867a89ec78c4903883.tar.gz
gdb-67bed49ec852aee39172fc867a89ec78c4903883.tar.bz2
aarch64: Enable Cortex-A520 CPU
This patch adds support for the Cortex-A520 CPU to gas. No regressions on aarch64-none-elf. gas/ChangeLog: * NEWS: Update docs. * config/tc-aarch64.c: Add Cortex-A520. * doc/c-aarch64.texi: Update docs.
Diffstat (limited to 'gas')
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-aarch64.c4
-rw-r--r--gas/doc/c-aarch64.texi1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/NEWS b/gas/NEWS
index 1ed0435..07ba756 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -10,6 +10,8 @@
* Add support for Intel AVX-VNNI-INT16 instructions.
+* Add support for Cortex-A520 for AArch64.
+
Changes in 2.41:
* Add support for Intel FRED instructions.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 99fb5de..e692161 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10227,6 +10227,10 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
| AARCH64_FEATURE_MEMTAG
| AARCH64_FEATURE_SVE2_BITPERM),
"Cortex-A510"},
+ {"cortex-a520", AARCH64_FEATURE (AARCH64_ARCH_V9_2,
+ AARCH64_FEATURE_MEMTAG
+ | AARCH64_FEATURE_SVE2_BITPERM),
+ "Cortex-A520"},
{"cortex-a710", AARCH64_FEATURE (AARCH64_ARCH_V9,
AARCH64_FEATURE_BFLOAT16
| AARCH64_FEATURE_I8MM
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index acde4a7..ed6b46e 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -72,6 +72,7 @@ on the target processor. The following processor names are recognized:
@code{cortex-a78ae},
@code{cortex-a78c},
@code{cortex-a510},
+@code{cortex-a520},
@code{cortex-a710},
@code{ares},
@code{exynos-m1},