[libre-riscv-dev] [Bug 117] RISCV FCLASS instruction needed
bugzilla-daemon at libre-riscv.org
bugzilla-daemon at libre-riscv.org
Sun Jul 28 13:25:42 BST 2019
http://bugs.libre-riscv.org/show_bug.cgi?id=117
--- Comment #11 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #10)
> (In reply to Jacob Lifshay from comment #7)
> > just compare
> > get_exponent_field with exponent_(inf_nan|denormal_zero) without needing
> > emax or e_sub, since that saves a subtraction and matches the rest of the
> > class.
>
> mmm... not keen on that: the hardware version always subtracts the exponent
> bias (everywhere), which means that FPFormat is the odd one out.
ok.
> does test_fpclass_pipe.py look reasonable, i.e. conformant to the FCLASS
> spec?
yes, though the conditions are quite redundant as written and it needs to be
updated to match FPFormat.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list