target/arm: Use fp_status_a32 in vfp_cmp helpers
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Jan 2025 16:27:29 +0000 (16:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Jan 2025 18:40:19 +0000 (18:40 +0000)
commitd1ce6db3b1dcaa51d48def07f5615e6655ec4550
treed4232ee81e0af9353548ed85732a4dd30643b306
parent1069d8ab30cb8c06cb093b06b05f571f64248d0d
target/arm: Use fp_status_a32 in vfp_cmp helpers

The helpers vfp_cmps, vfp_cmpes, vfp_cmpd, vfp_cmped are used only from
the A32 decoder; the A64 decoder uses separate vfp_cmps_a64 etc helpers
(because for A64 we update the main NZCV flags and for A32 we update
the FPSCR NZCV flags). So we can make these helpers use the fp_status_a32
field instead of fp_status.

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