aarch64: Add support for Neoverse V1 CPU
authorAlex Coplan <alex.coplan@arm.com>
Thu, 24 Sep 2020 14:25:04 +0000 (15:25 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Thu, 24 Sep 2020 14:38:19 +0000 (15:38 +0100)
This adds support for Arm's Neoverse V1 CPU to AArch64 binutils.

gas/ChangeLog:

2020-09-24  Alex Coplan  <alex.coplan@arm.com>

* config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1.
* doc/c-aarch64.texi: Document Neoverse V1 support.

gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi

index 30e4e34b551327e69fb768358e98c352cfd1fefb..1a16bce758cd19be7607989b3670d71158d8b54e 100644 (file)
@@ -1,3 +1,8 @@
+2020-09-24  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1.
+       * doc/c-aarch64.texi: Document Neoverse V1 support.
+
 2020-09-24  Alex Coplan  <alex.coplan@arm.com>
 
        * config/tc-arm.c (arm_cpus): Add Neoverse N2.
index 57a2b4e997ce235536b9ff9819b28b466e9ad669..eadddb2eae7c60bcfd31117e6ce770d0cdc6e3af 100644 (file)
@@ -8977,6 +8977,14 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
                              AARCH64_FEATURE_CRC), "APM X-Gene 2"},
   {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"},
+  {"neoverse-v1", AARCH64_FEATURE (AARCH64_ARCH_V8_4,
+                           AARCH64_FEATURE_PROFILE
+                         | AARCH64_FEATURE_CVADP
+                         | AARCH64_FEATURE_SVE
+                         | AARCH64_FEATURE_SSBS
+                         | AARCH64_FEATURE_RNG
+                         | AARCH64_FEATURE_BFLOAT16
+                         | AARCH64_FEATURE_I8MM), "Neoverse V1"},
   {"generic", AARCH64_ARCH_V8, NULL},
 
   {NULL, AARCH64_ARCH_NONE, NULL}
index d8f2e19326fc127a66eb11a3176e6f80573f3dd2..3f535a28ba5612f5570d19f2a47d146a525342be 100644 (file)
@@ -73,6 +73,7 @@ on the target processor.  The following processor names are recognized:
 @code{falkor},
 @code{neoverse-n1},
 @code{neoverse-e1},
+@code{neoverse-v1},
 @code{qdf24xx},
 @code{saphira},
 @code{thunderx},