From: Kyrylo Tkachov Date: Fri, 22 Feb 2019 09:56:50 +0000 (+0000) Subject: [AArch64][gas] Add support for Neoverse N1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38e75bf22300aad8029a9765bad2ae75e914ad56;p=binutils-gdb.git [AArch64][gas] Add support for Neoverse N1 This adds support for the Neoverse N1 [1] CPU to gas. This was previously enabled under the Ares codename, which remains as a valid option for -mcpu for compatibility reasons. make check-gas passes on aarch64-none-elf. [1] https://community.arm.com/processors/b/blog/posts/arm-neoverse-n1-platform-accelerating-the-transformation-to-a-scalable-cloud-to-edge-infrastructure 2019-02-21 Kyrylo Tkachov * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1. * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2a4f1948144..d0cb7858fa6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2019-02-22 Kyrylo Tkachov + + * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1. + * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value. + 2019-02-19 Paul Hua * NEWS: Mention -m[no-]fix-loongson3-llsc. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 1acf6f671bd..ba8f161fcc4 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8746,6 +8746,11 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_RDMA), "Qualcomm Falkor"}, + {"neoverse-n1", AARCH64_FEATURE (AARCH64_ARCH_V8_2, + AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 + | AARCH64_FEATURE_DOTPROD + | AARCH64_FEATURE_PROFILE), + "Neoverse N1"}, {"qdf24xx", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_RDMA), diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 7451f2f795c..a9cd7d0f544 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -66,6 +66,7 @@ on the target processor. The following processor names are recognized: @code{ares}, @code{exynos-m1}, @code{falkor}, +@code{neoverse-n1}, @code{qdf24xx}, @code{saphira}, @code{thunderx},