[Libre-soc-dev] Introduction - Anton
lkcl
luke.leighton at gmail.com
Wed Aug 25 14:08:08 BST 2021
On August 25, 2021 12:37:51 PM UTC, Anton Lechanka <lechenko at bsuir.by> wrote:
>> the bugreport is here:
>> https://bugs.libre-soc.org/show_bug.cgi?id=550
>>
>> interested? :)
>>
>
>Sure! Do you have any deadlines or time estimates for this task to be
>done?
with autogeneration by svanalysis i really would be surprised if it was longer than 3 weeks. however ramp-up / questions, obviously, not included in that.
no deadlines given that i am using the python class, which has a mode where it can do .S processing. i actually had to add gas macro recognition to get that to work.
so there is a temporary workaround. however it will become increasingly more of a priority particularly for Lauri who is working at assembler level for Video/Audio CODECs, and later for compilers.
the function entrypoint is asm_process()
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/sv/trans/svp64.py;h=45b292b4c4c32bbff548f2bf299235633d31db6c;hb=HEAD#l1052
you can see it looks for ".set" macros of the utmost basic form, example where this is used:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=media/Makefile;h=4dd904b6ba48f3fcae3b1ab04e1b0479e460abd4;hb=HEAD#l34
and some actual assembler containing sv.xxx opcodes, which get translated by asm_process() libe by line into ".long xxxxx; some_v3.0b_asmopcode"
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=media/audio/mp3/mp3_0_apply_window_float_basicsv.s;hb=HEAD
you've seen the spec page which contains the format?
https://libre-soc.org/openpower/sv/svp64/
it's very deliberately only describing the format, not why it is what it us, or how to *use* that format (how to implement hardware etc i mean).
l.
More information about the Libre-soc-dev
mailing list