target/hppa: Remove floatX_maybe_silence_nan from conversions
This is now handled properly by the generic softfloat code. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a9d173dc60
commit
e1cf9adf5b
@ -341,7 +341,6 @@ float64 HELPER(fdiv_d)(CPUHPPAState *env, float64 a, float64 b)
|
|||||||
float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg)
|
float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg)
|
||||||
{
|
{
|
||||||
float64 ret = float32_to_float64(arg, &env->fp_status);
|
float64 ret = float32_to_float64(arg, &env->fp_status);
|
||||||
ret = float64_maybe_silence_nan(ret, &env->fp_status);
|
|
||||||
update_fr0_op(env, GETPC());
|
update_fr0_op(env, GETPC());
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -349,7 +348,6 @@ float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg)
|
|||||||
float32 HELPER(fcnv_d_s)(CPUHPPAState *env, float64 arg)
|
float32 HELPER(fcnv_d_s)(CPUHPPAState *env, float64 arg)
|
||||||
{
|
{
|
||||||
float32 ret = float64_to_float32(arg, &env->fp_status);
|
float32 ret = float64_to_float32(arg, &env->fp_status);
|
||||||
ret = float32_maybe_silence_nan(ret, &env->fp_status);
|
|
||||||
update_fr0_op(env, GETPC());
|
update_fr0_op(env, GETPC());
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user