diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2025-02-01 16:39:27 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-11 16:22:07 +0000 |
| commit | 2a734f3fe3cf528f3cf2f69600e88797b937201a (patch) | |
| tree | de0a05a9396c51879c66cfb023d575f4222b6a7a /rust/qemu-api/src | |
| parent | 7bcde0c6dd9e7d150fb530b85f9218270db98638 (diff) | |
| download | focaccia-qemu-2a734f3fe3cf528f3cf2f69600e88797b937201a.tar.gz focaccia-qemu-2a734f3fe3cf528f3cf2f69600e88797b937201a.zip | |
target/arm: Implement FPCR.AH semantics for scalar FMIN/FMAX
When FPCR.AH == 1, floating point FMIN and FMAX have some odd special cases: * comparing two zeroes (even of different sign) or comparing a NaN with anything always returns the second argument (possibly squashed to zero) * denormal outputs are not squashed to zero regardless of FZ or FZ16 Implement these semantics in new helper functions and select them at translate time if FPCR.AH is 1 for the scalar FMAX and FMIN insns. (We will convert the other FMAX and FMIN insns in subsequent commits.) Note that FMINNM and FMAXNM are not affected. 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