diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-09 15:43:24 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-09 16:06:11 +0100 |
commit | fb8ad9f2c1a82256b1ac384393a093a61201272f (patch) | |
tree | 770abe5f7e9e7e42555bc8720d96732daf915ba7 /target-arm/cpu.c | |
parent | 46d9dfdad65fa783691871622271a861466905c4 (diff) |
target-arm: Remove unnecessary setting of feature bits
FEATURE_V8 implies both FEATURE_V7MP and FEATURE_ARM_DIV, so
we don't need to set them explicitly in initfns which set the
V8 feature bit.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1401458125-27977-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/cpu.c')
-rw-r--r-- | target-arm/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 94123b2213..383e22a757 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -960,8 +960,6 @@ static void arm_any_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_VFP_FP16); set_feature(&cpu->env, ARM_FEATURE_NEON); set_feature(&cpu->env, ARM_FEATURE_THUMB2EE); - set_feature(&cpu->env, ARM_FEATURE_ARM_DIV); - set_feature(&cpu->env, ARM_FEATURE_V7MP); set_feature(&cpu->env, ARM_FEATURE_CRC); cpu->midr = 0xffffffff; } |