diff options
| author | Alex Bennée | 2018-01-12 12:24:02 +0100 |
|---|---|---|
| committer | Alex Bennée | 2018-02-21 11:21:54 +0100 |
| commit | c13bb2da9eedfbc5886c8048df1bc1114b285fb0 (patch) | |
| tree | 06ddb15da5ae722dd67c9a9484b9741185146824 /scripts | |
| parent | fpu/softfloat: re-factor compare (diff) | |
| download | qemu-c13bb2da9eedfbc5886c8048df1bc1114b285fb0.tar.gz qemu-c13bb2da9eedfbc5886c8048df1bc1114b285fb0.tar.xz qemu-c13bb2da9eedfbc5886c8048df1bc1114b285fb0.zip | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
