[AArch64,gas] Add support for Neoverse E1

Message ID 844bdd68-8092-a69f-893d-fe8ea91c94a2@foss.arm.com
State New
Headers show
Series
  • [AArch64,gas] Add support for Neoverse E1
Related show

Commit Message

Kyrill Tkachov Feb. 21, 2019, 4:48 p.m.
Hi all,

This adds support for the Neoverse E1 CPU [1] to gas.

make check-gas passes on aarch64-none-elf.

Ok for master?
Thanks,
Kyrill

(Note: the patch's context depends on the Neoverse N1 patch sent out 
before this one)

[1] 
https://community.arm.com/processors/b/blog/posts/arm-neoverse-e1-platform-empowering-the-infrastructure-to-meet-next-generation-throughput-demands

2019-02-21  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
     * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.

Comments

Nick Clifton Feb. 22, 2019, 9:47 a.m. | #1
Hi Kyrill,

> 2019-02-21  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

> 

>     * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.

>     * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.


Approved - please apply.

Cheers
  Nick

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index ba8f161fcc41b17d1105d80af7129296960783cb..d04e9a195a3ac146149bd2b64151778c76c0afcd 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-e1", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+				  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
+				  | AARCH64_FEATURE_DOTPROD
+				  | AARCH64_FEATURE_SSBS),
+				  "Neoverse E1"},
   {"neoverse-n1", 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 a9cd7d0f544a1296116b039f4ecdb10ec3141eba..445fb2f479e8387db887cdbfc12e15f892782a12 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -67,6 +67,7 @@  on the target processor.  The following processor names are recognized:
 @code{exynos-m1},
 @code{falkor},
 @code{neoverse-n1},
+@code{neoverse-e1},
 @code{qdf24xx},
 @code{saphira},
 @code{thunderx},