target/arm: Use fp_status_a32 in vjvct helper

Use fp_status_a32 in the vjcvt helper function; this is called only
from the A32/T32 decoder and is not used inside a
set_rmode/restore_rmode sequence.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250124162836.2332150-9-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2025-01-24 16:27:28 +00:00
parent 75df4e8609
commit 1069d8ab30

View File

@ -1144,7 +1144,7 @@ uint64_t HELPER(fjcvtzs)(float64 value, float_status *status)
uint32_t HELPER(vjcvt)(float64 value, CPUARMState *env) uint32_t HELPER(vjcvt)(float64 value, CPUARMState *env)
{ {
uint64_t pair = HELPER(fjcvtzs)(value, &env->vfp.fp_status); uint64_t pair = HELPER(fjcvtzs)(value, &env->vfp.fp_status_a32);
uint32_t result = pair; uint32_t result = pair;
uint32_t z = (pair >> 32) == 0; uint32_t z = (pair >> 32) == 0;