* [PATCH][GAS] aarch64: Enable Cortex-A520 CPU
@ 2023-08-08 13:09 Richard Ball
2023-08-08 19:17 ` Richard Sandiford
0 siblings, 1 reply; 2+ messages in thread
From: Richard Ball @ 2023-08-08 13:09 UTC (permalink / raw)
To: binutils, Richard Earnshaw, Richard Sandiford, Nick Clifton
This patch adds support for the Cortex-A520 CPU to gas.
No regressions on aarch64-none-elf.
Ok for binutils-master?
Could this patch please be committed on my behalf,
as I do not have write access yet?
gas/ChangeLog:
* NEWS: Update docs.
* config/tc-aarch64.c: Add Cortex-A520.
* doc/c-aarch64.texi: Update docs.
####################################
diff --git a/gas/NEWS b/gas/NEWS
index
1ed043511eb67aadc96549a775a87bc50c2b5ab8..07ba75661052842554a478ee612b9c7a087cec1b
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
99fb5de267960cac694128357bf7f6cf3576b96c..e692161105a5c75fab92f707a114c20c9531f18f
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
acde4a77dd25f20398c41222ce66bbc64cc99bbd..ed6b46e042290d806d98728d725b62520644e246
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},
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][GAS] aarch64: Enable Cortex-A520 CPU
2023-08-08 13:09 [PATCH][GAS] aarch64: Enable Cortex-A520 CPU Richard Ball
@ 2023-08-08 19:17 ` Richard Sandiford
0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2023-08-08 19:17 UTC (permalink / raw)
To: Richard Ball; +Cc: binutils, Richard Earnshaw, Nick Clifton
Richard Ball <richard.ball@arm.com> writes:
> This patch adds support for the Cortex-A520 CPU to gas.
>
> No regressions on aarch64-none-elf.
>
> Ok for binutils-master?
>
> Could this patch please be committed on my behalf,
> as I do not have write access yet?
>
> gas/ChangeLog:
>
> * NEWS: Update docs.
> * config/tc-aarch64.c: Add Cortex-A520.
> * doc/c-aarch64.texi: Update docs.
OK, thanks.
Richard
> ####################################
>
>
> diff --git a/gas/NEWS b/gas/NEWS
> index
> 1ed043511eb67aadc96549a775a87bc50c2b5ab8..07ba75661052842554a478ee612b9c7a087cec1b
> 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
> 99fb5de267960cac694128357bf7f6cf3576b96c..e692161105a5c75fab92f707a114c20c9531f18f
> 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
> acde4a77dd25f20398c41222ce66bbc64cc99bbd..ed6b46e042290d806d98728d725b62520644e246
> 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},
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-08 19:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 13:09 [PATCH][GAS] aarch64: Enable Cortex-A520 CPU Richard Ball
2023-08-08 19:17 ` Richard Sandiford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).