[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:41:24 BST 2023


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

--- Comment #28 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Provided two new visitors: pcode and extras. 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
in2
    sel NONE
    reg NONE
    seltype NONE
    idx NONE
in3
    sel NONE
    reg NONE
    seltype NONE
    idx NONE
cr_in
    sel NONE
    reg NONE
    seltype NONE
    idx NONE
cr_in2
    sel NONE
    reg NONE
    seltype NONE
    idx NONE
out
    sel RT0
    reg RT
    seltype DST
    idx EXTRA0
out2
    sel NONE
    reg NONE
    seltype NONE
    idx NONE
cr_out
    sel CR0
    reg CR0
    seltype NONE
    idx NONE

Note that the latter command only works with sv.-prefixed instructions since
the extras make sense only with these.

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


More information about the libre-soc-bugs mailing list