On 5/20/21 8:28 AM, Peter Maydell wrote:
The M-profile FPSCR has an LTPSIZE field, but if MVE is not
implemented it is read-only and always reads as 4; this is how QEMU
currently handles it.

Make the field writable when MVE is implemented.

We can safely add the field to the MVE migration struct because
currently no CPUs enable MVE and so the migration struct is never
used.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  target/arm/cpu.h        | 3 ++-
  target/arm/machine.c    | 1 +
  target/arm/vfp_helper.c | 9 ++++++---
  3 files changed, 9 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to