[Libre-soc-bugs] [Bug 1125] split instructions' pseudo-code into separate files so they can be [[!inline]]-ed into the wiki

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 6 16:49:30 BST 2023


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

--- Comment #14 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #12)
> two modifications are needed:
> 
> 1. a "Fields Form" that goes in the same place as can be seen in
> Power ISA Specs.

I'm planning on making the parser have the |-table be optional, so we can add
it later.

inserting the "X-Form" text at the end of the title -- that should be trivial
to make the shell script move to the correct place since it's just on the next
non-blank line. (though obtaining that form name from fields.txt will be more
complex, so i'm just planning on moving the existing form name to the correct
place and the python parser can just check for consistency, to be added later).
> 
> 2. a new "Description in English Language" section is needed that
> has a hash in front of it just after the pseudocode and before
> "Special Registers"

this section *is* the free-form text i was talking about. perhaps describing it
as free-form was misleading,

this needs to be a html comment since there is no text "Description in English
language" in the v3.1B pdf (unless v3.2 changed that?).

likewise, there is no "Pseudocode" text so that also needs to be a comment.

both of those changes are trivial to do with the shell script (though the
english description section will be empty, ready to be filled in)

> identification and insertion of (2) can be done using an insndb
> walker but that *is* another separate task with its own budget

using insndb to insert that section is unnecessarily complex, the shell script
can easily do that.

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


More information about the libre-soc-bugs mailing list