mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 05:21:55 -06:00
target/arm: Create ARMVQMap
Pull the three sve_vq_* values into a structure. This will be reused for SME. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220620175235.60881-13-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
531cc51037
commit
7f9e25a6e4
4 changed files with 27 additions and 28 deletions
|
@ -6287,7 +6287,7 @@ uint32_t sve_vqm1_for_el(CPUARMState *env, int el)
|
|||
len = MIN(len, 0xf & (uint32_t)env->vfp.zcr_el[3]);
|
||||
}
|
||||
|
||||
len = 31 - clz32(cpu->sve_vq_map & MAKE_64BIT_MASK(0, len + 1));
|
||||
len = 31 - clz32(cpu->sve_vq.map & MAKE_64BIT_MASK(0, len + 1));
|
||||
return len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue