mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/arm: Allow users to set the number of VFP registers
Cortex A7 CPUs with an FPU implementing VFPv4 without NEON support have 16 64-bit FPU registers and not 32 registers. Let users set the number of VFP registers with a CPU property. The primary use case of this property is for the Cortex A7 of the Aspeed AST2600 SoC. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
f65f6ad5a7
commit
42bea956f6
3 changed files with 36 additions and 0 deletions
|
@ -924,6 +924,8 @@ struct ArchCPU {
|
|||
bool has_pmu;
|
||||
/* CPU has VFP */
|
||||
bool has_vfp;
|
||||
/* CPU has 32 VFP registers */
|
||||
bool has_vfp_d32;
|
||||
/* CPU has Neon */
|
||||
bool has_neon;
|
||||
/* CPU has M-profile DSP extension */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue