Re: [PATCH 1/1] target/arm: Check NaN mode before silencing NaN

2021-06-25 Thread Richard Henderson
On 6/25/21 4:02 PM, Joe Komlodi wrote: If the CPU is running in default NaN mode (FPCR.DN == 1) and we execute FRSQRTE, FRECPE, or FRECPX with a signaling NaN, parts_silence_nan_frac() will assert due to fpst->default_nan_mode being set. To avoid this, we check to see what NaN mode we're

[PATCH 1/1] target/arm: Check NaN mode before silencing NaN

2021-06-25 Thread Joe Komlodi
If the CPU is running in default NaN mode (FPCR.DN == 1) and we execute FRSQRTE, FRECPE, or FRECPX with a signaling NaN, parts_silence_nan_frac() will assert due to fpst->default_nan_mode being set. To avoid this, we check to see what NaN mode we're running in before we call