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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jun 10 20:29:13 BST 2023


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

--- Comment #111 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Meanwhile made tree more beautiful (truncated output a bit to keep comment
simple, can be reproduced via `pysvp64db tree`):

/0
/0/name
    'tdi'
/0/section
/0/section/csv
    PosixPath('major.csv')
/0/section/bitsel
    [0:5]
/0/section/suffix
    None
/0/section/mode
    <Mode.INTEGER: 1>
/0/section/opcode
    None
/0/section/priority
    <Priority.NORMAL: 0>
/0/ppc
/0/ppc/0
/0/ppc/0/opcode
/0/ppc/0/opcode/value
    00000000000000000000000000000010
/0/ppc/0/opcode/mask
    00000000000000000000000000111111
/0/ppc/0/comment
    'tdi'
/0/ppc/0/flags
/0/ppc/0/flags/0
    '32b'
...
/0/fields
    {'BF': (6, 7, 8), 'D': (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31), 'FRS': (6, 7, 8, 9, 10), 'FRT': (6, 7, 8, 9, 10), 'L': (10,),
'RA': (11, 12, 13, 14, 15), 'RS': (6, 7, 8, 9,
 10), 'RT': (6, 7, 8, 9, 10), 'SI': (16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31), 'TO': (6, 7, 8, 9, 10), 'UI': (16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31)}
/0/mdwn
/0/mdwn/pcode
/0/mdwn/operands
    {'TO': (<class 'openpower.insndb.core.DynamicOperand'>, {'name': 'TO'}),
'RA': (<class 'openpower.insndb.core.GPROperand'>, {'name': 'RA'}), 'SI':
(<class 'openpower.insndb.core.SignedOperand'>, {'
name': 'SI'})}
/0/svp64
/0/svp64/name
    'tdi'
/0/svp64/ptype
/0/svp64/ptype
    1P
/0/svp64/etype
    <SVEType.EXTRA2: 1>
/0/svp64/msrc
    <SVMaskSrc.NO: 0>
/0/svp64/in1
    <In1Sel.RA: 1>
/0/svp64/in2
    <In2Sel.NONE: 0>
/0/svp64/in3
    <In3Sel.NONE: 0>
/0/svp64/out
    <OutSel.NONE: 0>
/0/svp64/out2
    <OutSel.NONE: 0>
/0/svp64/cr_in
    <CRInSel.NONE: 0>
/0/svp64/cr_in2
    <CRIn2Sel.NONE: 0>
/0/svp64/cr_out
    <CROutSel.NONE: 0>
/0/svp64/extra
    {0: [], 1: [], 2: [], 3: []}
/0/svp64/conditions
    ''
/0/svp64/mode
    <SVMode.NORMAL: 1>

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


More information about the libre-soc-bugs mailing list