target/arm: Define new fp_status_a32 and fp_status_a64
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Jan 2025 16:27:26 +0000 (16:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Jan 2025 18:40:19 +0000 (18:40 +0000)
commit2208cb46e60a825768b0d6aad1bd809f7b235bd1
treed1ff6a3e43f435dfe78dcf0f8df28f8851b42e6b
parenteda8d53083956f31c2ffe4ae62bb5883eda84be5
target/arm: Define new fp_status_a32 and fp_status_a64

We want to split the existing fp_status in the Arm CPUState into
separate float_status fields for AArch32 and AArch64.  (This is
because new control bits defined by FEAT_AFP only have an effect for
AArch64, not AArch32.) To make this split we will:
 * define new fp_status_a32 and fp_status_a64 which have
   identical behaviour to the existing fp_status
 * move existing uses of fp_status to fp_status_a32 or
   fp_status_a64 as appropriate
 * delete the old fp_status when it has no uses left

In this patch we add the new float_status fields.

We will also need to split fp_status_f16, but we will do that
as a separate series of patches.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250124162836.2332150-7-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/cpu.h
target/arm/tcg/translate.h
target/arm/vfp_helper.c