aboutsummaryrefslogtreecommitdiff
path: root/target-arm/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-10-19 16:14:06 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-10-19 16:14:06 +0000
commitb8b8ea05c4008343afcedf99b9c91fd750ea90e5 (patch)
tree4d1c4eee3a5e8ada8af69de5b4bafde58f80732e /target-arm/cpu.h
parent477899908fd2e6ed72faf18ef5ab09f2ae746a8a (diff)
downloadqemu-b8b8ea05c4008343afcedf99b9c91fd750ea90e5.zip
qemu-b8b8ea05c4008343afcedf99b9c91fd750ea90e5.tar.gz
qemu-b8b8ea05c4008343afcedf99b9c91fd750ea90e5.tar.bz2
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 <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r--target-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 00e012e..af3904d 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)