[libre-riscv-dev] [Bug 74] preliminary exploratory software emulation of FP SQRT

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed May 8 15:59:24 BST 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=74

--- Comment #45 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Aleksandar Kostovic from comment #44)
> oh i made so stupid errors...
> 
> so check out now:
> https://git.libre-riscv.org/?p=ieee754fpu.git;a=blobdiff;f=src/ieee754/
> fpsqrt/fsqrt.py;h=0c8aa1e539f1e9e61d6d8b89610900cda9312a0b;
> hp=f7410703643e763c0ad5c43c57e6c39b3c12e71e;
> hb=eb7c98a477798c050c7c3103296e3f8f9d6e4bff;
> hpb=c9a2ef1e7e5510db37ebde1c3a5faa9efb9a305f

looks great, and would be fantastic if i hadn't got the offset wrong.
it's supposed to be "subtract 127" not "subtract 128" (*sigh*),
have a look at the FPNumDecode class.

once that's sorted, the next task is in comment #35 above.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list