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

The negation step in SVE FCMLA mustn't negate a NaN when FPCR.AH is
set.  Use the same approach as we did for A64 FCMLA of passing in
FPCR.AH and using it to select whether to negate by XOR or by the
muladd negate_product flag.

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