From b8b8ea05c4008343afcedf99b9c91fd750ea90e5 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 19 Oct 2011 16:14:06 +0000 Subject: target-arm: Add ARM UDIV/SDIV support Add support for UDIV and SDIV in ARM mode. This is a new optional feature for A profile cores (Thumb mode has had UDIV and SDIV for M profile cores for some time). Signed-off-by: Peter Maydell --- target-arm/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-arm/cpu.h') diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 00e012e540..af3904d2bb 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -375,6 +375,7 @@ enum arm_features { ARM_FEATURE_V5, ARM_FEATURE_STRONGARM, ARM_FEATURE_VAPA, /* cp15 VA to PA lookups */ + ARM_FEATURE_ARM_DIV, /* divide supported in ARM encoding */ }; static inline int arm_feature(CPUARMState *env, int feature) -- cgit v1.2.3