target/arm: Adjust aarch64_cpu_dump_state for system mode SVE
commitced3155141755ba244c988c72c4bde32cc819670
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 8 Oct 2018 13:55:03 +0000 (8 14:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Oct 2018 13:55:03 +0000 (8 14:55 +0100)
tree74fd05f04bff07023770c6258c79980baba61da1
parent0ab5953b00b3165877d00cf75de628c51670b550
target/arm: Adjust aarch64_cpu_dump_state for system mode SVE

Use the existing helpers to determine if (1) the fpu is enabled,
(2) sve state is enabled, and (3) the current sve vector length.

Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181005175350.30752-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/translate-a64.c