diff options
Diffstat (limited to 'include/opcode/arm.h')
-rw-r--r-- | include/opcode/arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h index 1c350c8..1ac38a0 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -269,6 +269,9 @@ typedef struct #define ARM_CPU_HAS_FEATURE(CPU,FEAT) \ (((CPU).core & (FEAT).core) != 0 || ((CPU).coproc & (FEAT).coproc) != 0) +#define ARM_CPU_IS_ANY(CPU) \ + ((CPU).core == ((arm_feature_set)ARM_ANY).core) + #define ARM_MERGE_FEATURE_SETS(TARG,F1,F2) \ do { \ (TARG).core = (F1).core | (F2).core; \ |