[Libre-soc-bugs] [Bug 579] c/c++ macros for inline assembly supporting svp64
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Mon Jan 25 23:42:24 GMT 2021
https://bugs.libre-soc.org/show_bug.cgi?id=579
--- Comment #5 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #3)
> (In reply to Jacob Lifshay from comment #1)
>
> > we might want to split this into two parts, SV support for unmodified
> > gcc/binutils, and SV support once enough has been added to gcc to support
> > full length vectors as inline asm arguments.
>
> good idea. let's leave this one as SV support for unmodified gcc/binutils,
> it's what we need right now, as quickly as possible.
>
> > Also, what's the list of ops we actually need for this task to be considered
> > complete?
>
> it should be auto-generated from the python parsing code called
> "pagereader.py"
> and the CSV file reading. therefore the answer is "what we have in the
> wiki: the CSV files and the pseudocode pages".
I think that's totally the wrong approach, it will take much more work to write
a code generator than to just write the C/C++ code for the few instructions we
actually need right now.
I'm going to start writing it by hand, I think you may be surprised at the
relatively low amount of code needed.
>
> if you are attempting this by hand it is completely the wrong approach
> that will create a huge maintenance burden in the future.
Not really, since we'll just be throwing this code out once the instructions
are implemented in gcc.
> for now, then, because there is no FP pseudocode there are no FP operations
> added. this will have to be done later as a separate task.
Ok, though it isn't that hard to add FP.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list