diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-01-24 16:27:33 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-01-28 18:40:19 +0000 |
commit | 5f4ed6da85ff4abeb89bf9e6ad9481b82c5db0b0 (patch) | |
tree | e786ac5d38e37c3cc361c0b1d62ae832ae1c81bb /target/arm/cpu.c | |
parent | 2aa9656ebc26ea73c0cdb5c67409de1b9ef303c8 (diff) | |
download | qemu-5f4ed6da85ff4abeb89bf9e6ad9481b82c5db0b0.zip qemu-5f4ed6da85ff4abeb89bf9e6ad9481b82c5db0b0.tar.gz qemu-5f4ed6da85ff4abeb89bf9e6ad9481b82c5db0b0.tar.bz2 |
target/arm: Define new fp_status_f16_a32 and fp_status_f16_a64
As the first part of splitting the existing fp_status_f16
into separate float_status fields for AArch32 and AArch64
(so that we can make FEAT_AFP control bits apply only
for AArch64), define the two new fp_status_f16_a32 and
fp_status_f16_a64 fields, but don't use them yet.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250124162836.2332150-14-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpu.c')
-rw-r--r-- | target/arm/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index a2b9bd3..ff8514e 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -576,6 +576,8 @@ static void arm_cpu_reset_hold(Object *obj, ResetType type) arm_set_default_fp_behaviours(&env->vfp.fp_status_a64); arm_set_default_fp_behaviours(&env->vfp.standard_fp_status); arm_set_default_fp_behaviours(&env->vfp.fp_status_f16); + arm_set_default_fp_behaviours(&env->vfp.fp_status_f16_a32); + arm_set_default_fp_behaviours(&env->vfp.fp_status_f16_a64); arm_set_default_fp_behaviours(&env->vfp.standard_fp_status_f16); #ifndef CONFIG_USER_ONLY |