From 139991d392cd5f10e23ff7d6b78e52bc274360d5 Mon Sep 17 00:00:00 2001 From: Alex Coplan Date: Fri, 10 Sep 2021 18:10:48 +0100 Subject: [PATCH] aarch64: Correct feature bits for Morello 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 * opcode/aarch64.h (AARCH64_ARCH_MORELLO): Change F16_FML feature bit to F16. --- include/ChangeLog | 5 +++++ include/opcode/aarch64.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index a57184db967..a46fadc9c63 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2021-09-10 Alex Coplan + + * opcode/aarch64.h (AARCH64_ARCH_MORELLO): Change F16_FML + feature bit to F16. + 2021-06-24 Luis Machado * elf/aarch64.h (EF_AARCH64_CHERI_PURECAP): New constant. diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index bc50d11e404..74e4dfa599b 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -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) -- 2.47.2