[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 17:49:25 BST 2022


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

--- Comment #39 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #38)
> found what is huffman decoding afaict (libmpg123 is used by latest LAME
> trunk for mp3 decoding, it used to be vendored into LAME's source tree):
> 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.

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


More information about the Libre-SOC-ISA mailing list