target/arm: Introduce CPUARMState.vfp.fp_status[]
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Feb 2025 16:40:00 +0000 (16:40 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Feb 2025 16:22:07 +0000 (16:22 +0000)
commitb902f5c62dbf2e796e39af55ed28294ec0467a56
tree1e11ba08b59aaa4a38dc88df7f23e4ee1a0188ac
parentb0bf37746bb9d66496ce8ef076c74388aa7ef899
target/arm: Introduce CPUARMState.vfp.fp_status[]

Move ARMFPStatusFlavour to cpu.h with which to index
this array.  For now, place the array in an anonymous
union with the existing structures.  Adjust the order
of the existing structures to match the enum.

Simplify fpstatus_ptr() using the new array.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250129013857.135256-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/tcg/translate.h