mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/arm: Enable FEAT_CSV2 for -cpu max
This extension concerns branch speculation, which TCG does not implement. Thus we can trivially enable this feature. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220506180242.216785-20-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
880cd10e84
commit
74b17e1669
3 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,7 @@ void aa32_max_features(ARMCPU *cpu)
|
|||
cpu->isar.id_mmfr4 = t;
|
||||
|
||||
t = cpu->isar.id_pfr0;
|
||||
t = FIELD_DP32(t, ID_PFR0, CSV2, 2); /* FEAT_CVS2 */
|
||||
t = FIELD_DP32(t, ID_PFR0, DIT, 1); /* FEAT_DIT */
|
||||
t = FIELD_DP32(t, ID_PFR0, RAS, 1); /* FEAT_RAS */
|
||||
cpu->isar.id_pfr0 = t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue