diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-02-01 16:39:45 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-11 16:22:07 +0000 |
commit | 1fae4f5e9f48f1620c20f33eb1c673276a301548 (patch) | |
tree | b35e4a6891ec0b09d26112dc5abbccd84f7eee89 /rust/qemu-api/src | |
parent | b85d8684c5f6be7d52355e1c8fc7444ee46a8237 (diff) | |
download | qemu-1fae4f5e9f48f1620c20f33eb1c673276a301548.zip qemu-1fae4f5e9f48f1620c20f33eb1c673276a301548.tar.gz qemu-1fae4f5e9f48f1620c20f33eb1c673276a301548.tar.bz2 |
target/arm: Handle FPCR.AH in negation in FMLS (vector)
Handle the FPCR.AH "don't negate the sign of a NaN" semantics
in FMLS (vector), by implementing a new set of helpers for
the AH=1 case.
The float_muladd_negate_product flag produces the same result
as negating either of the multiplication operands, assuming
neither of the operands are NaNs. But since FEAT_AFP does not
negate NaNs, this behaviour is exactly what we need.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions