[binutils-gdb] arm: Add missing Neoverse V1 feature

Alex Coplan acoplan@sourceware.org
Mon Sep 28 12:58:23 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9bede61ce5e1f12fa545c9138f93b6a2097e63eb

commit 9bede61ce5e1f12fa545c9138f93b6a2097e63eb
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Mon Sep 28 13:57:09 2020 +0100

    arm: Add missing Neoverse V1 feature
    
    This simple follow-on patch adds a feature bit (FP16) that was missing
    from the initial Neoverse V1 support.
    
    gas/ChangeLog:
    
            * config/tc-arm.c (arm_cpus): Add FP16 to Neoverse V1.

Diff:
---
 gas/ChangeLog       | 4 ++++
 gas/config/tc-arm.c | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index f3b2e9b5381..b58a2240b1c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-28  Alex Coplan  <alex.coplan@arm.com>
+
+	* config/tc-arm.c (arm_cpus): Add FP16 to Neoverse V1.
+
 2020-09-28  Alex Coplan  <alex.coplan@arm.com>
 
 	* config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores together,
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 455a1401b7f..39f989ea99c 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -31600,7 +31600,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
 				    | ARM_EXT2_I8MM),
 	       FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_4),
   ARM_CPU_OPT ("neoverse-v1", "Neoverse V1", ARM_ARCH_V8_4A,
-	       ARM_FEATURE_CORE_HIGH (ARM_EXT2_BF16 | ARM_EXT2_I8MM),
+	       ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST
+				    | ARM_EXT2_BF16
+				    | ARM_EXT2_I8MM),
 	       FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_4),
   /* ??? XSCALE is really an architecture.  */
   ARM_CPU_OPT ("xscale",	  NULL,		       ARM_ARCH_XSCALE,


More information about the Binutils-cvs mailing list