[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 16:36:24 BST 2022


--- Comment #23 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
CR0 <- 0b00 || u2 || XERSO

perfect.  good enough for me. precedent already set.
getting the damn thing out of the compiled code, i'd
suggest adding it to the list of "write_regs" in the

that will have the side-effect of adding it to the
list of output regs returned from the function call
in ISACaller

    outputs = self.instr[ins_name](*inputs)

so watch out for that.  it's not a dict, you *must*
get the order right, matching up with the write_regs

1709         # write out any regs for this instruction
1710         if info.write_regs:
1711             for name, output in zip(output_names, results):
1712                 yield from self.check_write(info, name, output, carry_en)

do you want to try adding that or shall i do it?

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

More information about the Libre-SOC-ISA mailing list