commit | 94933df0e5c34d1a50fc950553f9c9649cae5320 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Thu May 10 12:14:21 2018 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Thu May 17 15:24:19 2018 -0700 |
tree | f0a4621841e810d1922d1b2dc2379f43102f7730 | |
parent | 0664335a6eb65d684918dd3f1a7f0a3d5b92cbe1 [diff] |
fpu/softfloat: Canonicalize NaN fraction Shift the NaN fraction to a canonical position, much like we do for the fraction of normal numbers. This will facilitate manipulation of NaNs within the shared code paths. 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>