[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
Sun Oct 2 18:09:13 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=933

--- Comment #40 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #39)
> (In reply to Jacob Lifshay from comment #38)
> > https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/layer3.c?revision=4971&view=markup#l622
> > that while loop would be replaced with a loop on a pcdec. instruction and
> > would need to loop 4/6 as often since pcdec. processes 6 bits at a time and
> > that loop processes 4 bits at a time.
> 
> i'm sure that isn't the only loop that can be sped up with pcdec.

the bit i'd really like to see is, does "sv.pcdec./ff=SO"
do what's expected (and useful): truncate VL at a point which
can be easily detected, does "sv.bc SO" help in detecting that
there was an overflow in the vector of ConditionCodes, and so on.

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


More information about the Libre-SOC-ISA mailing list