On 10/09/2012 01:27 PM, Aurelien Jarno wrote:
> -return float64_sqrt(fdt0, &env->active_fpu.fp_status);
> +set_float_exception_flags(0, &env->active_fpu.fp_status);
> +fdt0 = float64_sqrt(fdt0, &env->active_fpu.fp_status);
> +update_fcr31(env);
> +return fdt0;
While accurate, I
For each FPU instruction that can trigger an FPU exception, it is needed
to reset the softfloat status before and call update_fcr31() after.
Remove the manual NaN assignment in case of float to float operation, as
softfloat is already taking care of that. However for float to int
operation, the va