[Libre-soc-bugs] [Bug 644] MP3: Basic SV impl
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Jun 23 16:15:04 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=644
--- Comment #13 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to cand from comment #11)
> > if you can add a small test Makefile plus main.c like for the mp3_0 test, reading and comparing data
> That already exists?
for the c code, no.
lkcl at fizzy:~/src/libresoc/openpower-isa$ !fi
find . -name "Makefile"
./src/openpower/simulator/qemu_test/Makefile
./src/test/basic_pypowersim/Makefile
./src/test/basic_svp64_trans/Makefile
./src/test/basic_pypowersim_fp/Makefile
./Makefile
./media/Makefile
media/Makefile does not contain any reference to apply_window_standalone.c
or to imdct36_standalone.c
lkcl at fizzy:~/src/libresoc/openpower-isa/media$ ls data/audio/mp3/mp3_0_data/
a.out buf3000 buf8000 samples1000 samples6000
apply_window_standalone.c buf4000 buf9000 samples2000 samples7000
buf0 buf5000 main.c samples3000 samples8000
buf1000 buf6000 out_samples0 samples4000 samples9000
buf2000 buf7000 samples0 samples5000 win0
no Makefile.
lkcl at fizzy:~/src/libresoc/openpower-isa/media$ ls data/audio/mp3/mp3_1_data/
beforeout1 beforeout5 buf20 in14 main.c out3 win19
beforeout2 buf14 imdct36_standalone.c in3 out18 win12 win8
ah! found main.c in there. excellent ok.
i can work with that.
what i propose is, to copy imdct36_standalone.c and main.c into
openpower-isa/media/audio/mp3/mp3_1/
and commit them
then adjust them to work relative to the media/Makefile directory
then, make a *second* copy which is "a little bit more vector-like"
sound good?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list