Re: [PATCH] target/sparc: don't set FSR_NVA when comparing unordered floats

2025-05-27 Thread Mark Cave-Ayland
On 25/04/2025 10:35, Clément Chigot wrote: FSR_NVA should be set when one of the operands is a signaling NaN or when using FCMPEx instructions. But those cases are already handled within check_ieee_exception or floatxx_compare functions. Otherwise, it should be left untouched. FTR, this was det

Re: [PATCH] target/sparc: don't set FSR_NVA when comparing unordered floats

2025-05-11 Thread Richard Henderson
On 4/25/25 02:35, Clément Chigot wrote: FSR_NVA should be set when one of the operands is a signaling NaN or when using FCMPEx instructions. But those cases are already handled within check_ieee_exception or floatxx_compare functions. Otherwise, it should be left untouched. FTR, this was detecte

Re: [PATCH] target/sparc: don't set FSR_NVA when comparing unordered floats

2025-05-11 Thread Mark Cave-Ayland
On 25/04/2025 10:35, Clément Chigot wrote: (added Richard on CC) FSR_NVA should be set when one of the operands is a signaling NaN or when using FCMPEx instructions. But those cases are already handled within check_ieee_exception or floatxx_compare functions. Otherwise, it should be left untouc

[PATCH] target/sparc: don't set FSR_NVA when comparing unordered floats

2025-04-25 Thread Clément Chigot
FSR_NVA should be set when one of the operands is a signaling NaN or when using FCMPEx instructions. But those cases are already handled within check_ieee_exception or floatxx_compare functions. Otherwise, it should be left untouched. FTR, this was detected by inf-compare-[5678] tests within gcc t