mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
target/arm: Rename sve_zcr_len_for_el to sve_vqm1_for_el
This will be used for both Normal and Streaming SVE, and the value does not necessarily come from ZCR_ELx. While we're at it, emphasize the units in which the value is returned. Patch produced by git grep -l sve_zcr_len_for_el | \ xargs -n1 sed -i 's/sve_zcr_len_for_el/sve_vqm1_for_el/g' and then adding a function comment. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220607203306.657998-13-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
886902ece7
commit
5ef3cc5636
5 changed files with 19 additions and 10 deletions
|
@ -166,7 +166,7 @@ static off_t sve_fpcr_offset(uint32_t vq)
|
|||
|
||||
static uint32_t sve_current_vq(CPUARMState *env)
|
||||
{
|
||||
return sve_zcr_len_for_el(env, arm_current_el(env)) + 1;
|
||||
return sve_vqm1_for_el(env, arm_current_el(env)) + 1;
|
||||
}
|
||||
|
||||
static size_t sve_size_vq(uint32_t vq)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue