]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Handle FPCR.AH in vector FCMLA
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Feb 2025 16:39:49 +0000 (16:39 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Feb 2025 16:22:07 +0000 (16:22 +0000)
commita7868aaa30e4df6e6040fd96217e1febe247714a
tree67dad375e9fa24d41ebce9f2168fa0ca86e1849a
parent07e6b8d7526380a8a30081354f12f48f39d3464e
target/arm: Handle FPCR.AH in vector FCMLA

The negation step in FCMLA mustn't negate a NaN when FPCR.AH
is set. Handle this by passing FPCR.AH to the helper via the
SIMD data field, and use this to select whether to do the
negation via XOR or via the muladd negate_product flag.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250129013857.135256-26-richard.henderson@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/translate-a64.c
target/arm/tcg/vec_helper.c