diff --git a/gas/NEWS b/gas/NEWS index 8046ed541a859d68e93738ef7509ba6dda9c31de..2e40291f8c42a77f42f3c2bdcfa30393066a57a5 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 087f88ef173cd7a6167d5e5ce578036efe933c64..573633f9b45a1386ecc8de083349541552277e9c 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 79dce2f74074e7cd3502cb127d87f585b048dfaa..c8c61f18854b1e29edc4107debe84a4e0f787485 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},