mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/arm: Allow cpu to configure GM blocksize
Previously we hard-coded the blocksize with GMID_EL1_BS. But the value we choose for -cpu max does not match the value that cortex-a710 uses. Mirror the way we handle dcz_blocksize. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230811214031.171020-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
ae4acc696f
commit
851ec6eba5
7 changed files with 45 additions and 28 deletions
|
@ -1246,12 +1246,6 @@ void arm_log_exception(CPUState *cs);
|
|||
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
|
||||
/*
|
||||
* The log2 of the words in the tag block, for GMID_EL1.BS.
|
||||
* The is the maximum, 256 bytes, which manipulates 64-bits of tags.
|
||||
*/
|
||||
#define GMID_EL1_BS 6
|
||||
|
||||
/*
|
||||
* SVE predicates are 1/8 the size of SVE vectors, and cannot use
|
||||
* the same simd_desc() encoding due to restrictions on size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue