]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
aarch64: Correct feature bits for Morello
authorAlex Coplan <alex.coplan@arm.com>
Fri, 10 Sep 2021 17:10:48 +0000 (18:10 +0100)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 22:59:24 +0000 (15:59 -0700)
As it stands, the architecture feature bits for Morello include FP16FML
(i.e. ARMv8.2-FHM) but not FP16: this is an invalid combination.
Looking at the Morello Arm ARM [1], it seems that Morello wants the
feature FP16 (ARMv8.2-FP16) but not FP16FML.

[1] : https://developer.arm.com/documentation/ddi0606/latest

include/ChangeLog:

2021-09-10  Alex Coplan  <alex.coplan@arm.com>

* opcode/aarch64.h (AARCH64_ARCH_MORELLO): Change F16_FML
feature bit to F16.

include/ChangeLog
include/opcode/aarch64.h

index a57184db967e717da4b66d0d075ca16eea8517c8..a46fadc9c63e856d14e1d3290f3adc7221ceb2eb 100644 (file)
@@ -1,3 +1,8 @@
+2021-09-10  Alex Coplan  <alex.coplan@arm.com>
+
+       * opcode/aarch64.h (AARCH64_ARCH_MORELLO): Change F16_FML
+       feature bit to F16.
+
 2021-06-24  Luis Machado  <luis.machado@arm.com>
 
        * elf/aarch64.h (EF_AARCH64_CHERI_PURECAP): New constant.
index bc50d11e4048a3282ce7d5d6e4e8673304dd3bee..74e4dfa599bb161dd816c9c58e18cca85ab334ba 100644 (file)
@@ -184,7 +184,7 @@ typedef uint32_t aarch64_insn;
 
 #define AARCH64_ARCH_MORELLO   AARCH64_FEATURE (AARCH64_ARCH_V8_2,     \
                                                 AARCH64_FEATURE_A64C   \
-                                                | AARCH64_FEATURE_F16_FML \
+                                                | AARCH64_FEATURE_F16 \
                                                 | AARCH64_FEATURE_DOTPROD \
                                                 | AARCH64_FEATURE_RCPC \
                                                 | AARCH64_FEATURE_SSBS)