Re: [RFC PATCH] softfloat: Allow runtime choice of default NaN value

2024-11-28 Thread Richard Henderson
On 11/28/24 08:54, Peter Maydell wrote: Currently we hardcode the default NaN value in parts64_default_nan() using a compile-time ifdef ladder. This is awkward for two cases: * for single-QEMU-binary we can't hard-code target-specifics like this * for Arm FEAT_AFP the default NaN value depend

[RFC PATCH] softfloat: Allow runtime choice of default NaN value

2024-11-28 Thread Peter Maydell
Currently we hardcode the default NaN value in parts64_default_nan() using a compile-time ifdef ladder. This is awkward for two cases: * for single-QEMU-binary we can't hard-code target-specifics like this * for Arm FEAT_AFP the default NaN value depends on FPCR.AH (specifically the sign bit i