From 1af1dd51db991700c0e66b35d777a44e6953bbd2 Mon Sep 17 00:00:00 2001 From: Matthew Wahab Date: Tue, 2 Jun 2015 12:24:24 +0100 Subject: [ARM] Rework CPU feature selection in the disassembler include/opcode/ * arm.h (ARM_FEATURE_ALL): New. opcodes/ * arm-dis.c (select_arm_features): Rework to avoid used of redefined macros. --- include/opcode/ChangeLog | 4 ++++ include/opcode/arm.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index febe24f..5b9eb5d 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,5 +1,9 @@ 2015-06-02 Matthew Wahab + * arm.h (ARM_FEATURE_ALL): New. + +2015-06-02 Matthew Wahab + * aarch64.h (AARCH64_FEATURE_RDMA): New. 2015-06-02 Matthew Wahab diff --git a/include/opcode/arm.h b/include/opcode/arm.h index 1bf6b3c..cbe9e7d 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -244,6 +244,7 @@ #define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0) #define FPU_NONE ARM_FEATURE_LOW (0, 0) #define ARM_ANY ARM_FEATURE (-1, -1, 0) /* Any basic core. */ +#define ARM_FEATURE_ALL ARM_FEATURE (-1, -1, -1)/* All CPU and FPU features. */ #define FPU_ANY_HARD ARM_FEATURE_COPROC (FPU_FPA | FPU_VFP_HARD | FPU_MAVERICK) #define ARM_ARCH_THUMB2 ARM_FEATURE_CORE_LOW (ARM_EXT_V6T2 | ARM_EXT_V7 \ | ARM_EXT_V7A | ARM_EXT_V7R \ -- cgit v1.1