[libre-riscv-dev] [Bug 111] FCVT unsigned/signed char/short/int/long (8/16/32/64) to FP16/32/64 needed
bugzilla-daemon at libre-riscv.org
bugzilla-daemon at libre-riscv.org
Fri Jul 19 11:03:18 BST 2019
http://bugs.libre-riscv.org/show_bug.cgi?id=111
--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-riscv.org/?p=ieee754fpu.git;a=commitdiff;h=fca1093babd57f9cba2e4b1093a8f97dd0450728
first example usage of the new FPPipeContext "operator". it's pretty
basic: no "tidiness" class that helps actually identify it as such,
it's just straight "set op_wid=1" then:
with m.If(self.i.ctx.op[0]):
# start doing signed decode
with m.Else():
# start doing unsigned decode
pretty basic, and i can confirm that the ctx.op, like ctx.muxid, is
properly passed down the pipeline chain.
i might just add in a completely new class, just to see if that also works
(it should).
preliminary run on signed-to-FP works, i'll do some more comprehensive
unit tests, now.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list