]> 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)
committerAlex Coplan <alex.coplan@arm.com>
Fri, 10 Sep 2021 17:10:48 +0000 (18:10 +0100)
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 c3d6ee31f03926301d7bec9df0bb4216e054a88f..a439bd506be2deea1effd56abd6ed9cbe5a9467f 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 6360246c600d2efaa1a13845e3dfe6d16d4401ee..091c9ece857dad43a8a21d240544c94f49aa038e 100644 (file)
@@ -138,7 +138,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)