aarch64: Neoverse V1 tweaks
authorAlex Coplan <alex.coplan@arm.com>
Mon, 28 Sep 2020 12:55:08 +0000 (13:55 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Mon, 28 Sep 2020 12:55:08 +0000 (13:55 +0100)
This simple follow-on patch groups the Neoverse cores together and adds
a missing feature bit (F16) to the entry for Neoverse V1.

gas/ChangeLog:

* config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores
together, add missing F16 bit to Neoverse V1.

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

index 70bc6c0695b63db3a072fdabfc9e21294f792325..f3b2e9b5381de3052a784d2ec627d73e87136a44 100644 (file)
@@ -1,3 +1,8 @@
+2020-09-28  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores together,
+       add missing F16 bit to Neoverse V1.
+
 2020-09-26  Alan Modra  <amodra@gmail.com>
 
        * config/tc-csky.c (parse_type_ctrlreg): Don't mask mach_flag
index eadddb2eae7c60bcfd31117e6ce770d0cdc6e3af..56ce5facdb1866ee7a779341aa15517942b1c020 100644 (file)
@@ -8956,6 +8956,15 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                                  | AARCH64_FEATURE_DOTPROD
                                  | AARCH64_FEATURE_PROFILE),
                                  "Neoverse N1"},
+  {"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_F16
+                         | AARCH64_FEATURE_BFLOAT16
+                         | AARCH64_FEATURE_I8MM), "Neoverse V1"},
   {"qdf24xx", AARCH64_FEATURE (AARCH64_ARCH_V8,
                               AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO
                               | AARCH64_FEATURE_RDMA),
@@ -8977,14 +8986,6 @@ 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}