diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-03-26 12:53:26 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-03-26 12:53:26 +0000 |
commit | c8877d0f2f662bf01346a03bc9fd279954b4132d (patch) | |
tree | 49882d22e9709b0323eeb9b5a81bf6fc68a47397 /target/arm/cpu.c | |
parent | d37bfe142382fa8258531c47b4519387c77cd169 (diff) | |
download | qemu-c8877d0f2f662bf01346a03bc9fd279954b4132d.zip qemu-c8877d0f2f662bf01346a03bc9fd279954b4132d.tar.gz qemu-c8877d0f2f662bf01346a03bc9fd279954b4132d.tar.bz2 |
target/arm: Set SIMDMISC and FPMISC for 32-bit -cpu max
Fixes: https://bugs.launchpad.net/bugs/1821430
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20190325161338.6536-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.c')
-rw-r--r-- | target/arm/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 504a477..4155782 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2028,6 +2028,11 @@ static void arm_max_initfn(Object *obj) t = FIELD_DP32(t, ID_ISAR6, SPECRES, 1); cpu->isar.id_isar6 = t; + t = cpu->isar.mvfr2; + t = FIELD_DP32(t, MVFR2, SIMDMISC, 3); /* SIMD MaxNum */ + t = FIELD_DP32(t, MVFR2, FPMISC, 4); /* FP MaxNum */ + cpu->isar.mvfr2 = t; + t = cpu->id_mmfr4; t = FIELD_DP32(t, ID_MMFR4, HPDS, 1); /* AA32HPD */ cpu->id_mmfr4 = t; |