aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-06-28 17:15:36 -0700
committerPeter Maydell <peter.maydell@linaro.org>2018-06-29 15:30:54 +0100
commit0b33968e7f4cf998f678b2d1a5be3d6f3f3513d8 (patch)
tree812a282521f64174dd6fc471c853a0c3f1174fcd
parent156a7065365578deb3d63c2b5b69a4b5999a8fcc (diff)
downloadqemu-0b33968e7f4cf998f678b2d1a5be3d6f3f3513d8.zip
qemu-0b33968e7f4cf998f678b2d1a5be3d6f3f3513d8.tar.gz
qemu-0b33968e7f4cf998f678b2d1a5be3d6f3f3513d8.tar.bz2
target/arm: Prune a15 features from max
There is no need to re-set these 3 features already implied by the call to aarch64_a15_initfn. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20180629001538.11415-5-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/cpu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index 4584cd0..646b122 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -1803,9 +1803,6 @@ static void arm_max_initfn(Object *obj)
* since we don't correctly set the ID registers to advertise them,
*/
set_feature(&cpu->env, ARM_FEATURE_V8);
- set_feature(&cpu->env, ARM_FEATURE_VFP4);
- set_feature(&cpu->env, ARM_FEATURE_NEON);
- set_feature(&cpu->env, ARM_FEATURE_THUMB2EE);
set_feature(&cpu->env, ARM_FEATURE_V8_AES);
set_feature(&cpu->env, ARM_FEATURE_V8_SHA1);
set_feature(&cpu->env, ARM_FEATURE_V8_SHA256);