]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Handle FPCR.AH in SVE FTSSEL
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 1 Feb 2025 16:39:47 +0000 (16:39 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Feb 2025 16:22:07 +0000 (16:22 +0000)
commit6dcd51ccf6815578bd34ea64a33a1eda9cc324e5
tree3ad775118370e4b8f56768ed06f88325c9bda35c
parent51330e58480b05cd39a9b913be9f83a0530471cb
target/arm: Handle FPCR.AH in SVE FTSSEL

The negation step in the SVE FTSSEL insn mustn't negate a NaN when
FPCR.AH is set.  Pass FPCR.AH to the helper via the SIMD data field
and use that to determine whether to do the negation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/tcg/sve_helper.c
target/arm/tcg/translate-sve.c