[Libre-soc-isa] [Bug 933] prefix-code (like huffman code) decode/encode instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Sep 23 12:35:04 BST 2022


--- Comment #16 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
    CR0 <- final_rb_used || 0b0 || (output = 0) || so_bit

deep breath, there is no register CR0 and it will not
be picked up (back in ISACaller namespace).... yet.

then also it is not going to work for SV, either, because
writing continuously to CR0 is not the desired behaviour.

writing directly to the CR Field is not the desired behaviour
*either* although with BF and BFA (etc) those can be over-ridden
(extended/walked) forward just like RA/RB/RC/RT/RS for elements,
such that CR[32+4*bf..] etc will actually write to the correct
CR Field.

(keenly aware that CRfield numbers CR8 and above will over-run
 CR, that's for another time)

if this instruction was:

    pcdec RT,RA,RB,RC,BF,imm

then it would be fine - BF could be transparently-incremented.
in theory an "implicit" BF (set to zero) could also be added (sigh)

as a stop-gap measure that would work.

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

More information about the Libre-SOC-ISA mailing list