diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-05-10 13:09:49 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-17 15:24:19 -0700 |
commit | f7e598e264b94d0982e647ac303108781d5eb4fa (patch) | |
tree | 3e28550cfd497bfaf6a6cf0de5f51fbc152a9671 /linux-user/m68k-sim.c | |
parent | 298b468e4389587ab2e8599dd33eff3fbc698011 (diff) |
fpu/softfloat: Replace float_class_dnan with parts_default_nan
With a canonical representation of NaNs, we can return the
default nan directly rather than delay the expansion until
the final format is known.
Note one case where we uselessly assigned to a.sign, which was
overwritten/ignored later when expanding float_class_dnan.
Tested-by: Alex Bennée <alex.bennee@linaro.org>
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>
Diffstat (limited to 'linux-user/m68k-sim.c')
0 files changed, 0 insertions, 0 deletions