Hi all, This fixes an assertion that occurs when executing FRSQRTE, FRECPE, or FRECPX on a signaling NaN when the CPU has default NaN mode enabled.
When attempting to silence the NaN, we hit an assertion that ensures that the CPU FPU status does not have default_nan_mode set. To avoid this, we check if default_nan_mode is set before trying to silence the NaN. What happens then is the instruction sets any flags because of the signaling NaN, then gets the default NaN value due to default_nan_mode being set. Thanks! Joe Joe Komlodi (1): target/arm: Check NaN mode before silencing NaN target/arm/helper-a64.c | 12 +++++++++--- target/arm/vfp_helper.c | 24 ++++++++++++++++++------ 2 files changed, 27 insertions(+), 9 deletions(-) -- 2.7.4