[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jun 4 10:50:12 BST 2023


--- Comment #30 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #28)
> Provided two new visitors: pcode and extras.

let's not go down the rabbithole of walking the entire pcode AST
quite just yet :)  (there's python-ply for that)

> Supported sv. prefixed instructions. Example:
> $ pysvp64db pcode addi 
> RT <- (RA|0) + EXTS(SI)


> $ pysvp64db extras sv.setvl 
> in1
>     sel RA0
>     reg RA
>     seltype SRC
>     idx EXTRA1

this is going to be incredibly useful.  i can see scenarios where
latex auto-conversion is possible, and much more.

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

More information about the libre-soc-bugs mailing list