[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


--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---

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