diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2018-01-12 11:24:02 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2018-02-21 10:21:54 +0000 |
commit | c13bb2da9eedfbc5886c8048df1bc1114b285fb0 (patch) | |
tree | 06ddb15da5ae722dd67c9a9484b9741185146824 /linux-user/m68k | |
parent | 0c4c90929143a530730e2879204a55a30bf63758 (diff) |
fpu/softfloat: re-factor sqrt
This is a little bit of a departure from softfloat's original approach
as we skip the estimate step in favour of a straight iteration. There
is a minor optimisation to avoid calculating more bits of precision
than we need however this still brings a performance drop, especially
for float64 operations.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/m68k')
0 files changed, 0 insertions, 0 deletions