[Libre-soc-bugs] [Bug 1147] support Scalar Power ISA v3.1 (32-bit-only) instructions (no PO1) in binutils

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Nov 12 19:16:45 GMT 2023


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

--- Comment #7 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #6)
> (In reply to Dmitry Selyutin from comment #5)
> > I'll move on with this task next week (evenings or weekends). I expect not
> > that many obstacles here, since I already had to update binutils SVP64
> > generated code in scope of some task we had recently; basically this should
> > already mostly be covered.
> 
> brilliant. btw do check email from David.
> 
> there is quite a lot of "small" work needed on SVP64 as well,
> we cannot move to libopid because it is too massive a change
> (and needs its own entire grant)

Yes, this is a huge task. What's worse, it has several prerequisites; for
example, fields and specs generation.

> remember that we don't yet have these in the simulator and
> therefore not in insndb, but the csv entries and OP_xx should
> be reasonably straightforward to add.

Luke, sorry, I'm probably missing what you mean. Could you explain further,
please?

$ for insn in $(pysvp64db list | egrep
"cntlzdm|cnttzdm|cfuged|pextd|pdepd|brh|brw|brd|setbc|setbcr|setnbc|setnbcr");
do echo  "${insn}"; pysvp64db opcodes "${insn}"; pysvp64db operands "${insn}" |
sed -e 's|^|    |'; echo; done
cntlzdm
011111---------------0000111011-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10
    RB 16, 17, 18, 19, 20

brw
011111---------------0010011011-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10

pdepd
011111---------------0010011100-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10
    RB 16, 17, 18, 19, 20

brd
011111---------------0010111011-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10

pextd
011111---------------0010111100-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10
    RB 16, 17, 18, 19, 20

brh
011111---------------0011011011-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10

cfuged
011111---------------0011011100-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10
    RB 16, 17, 18, 19, 20

setbc
011111---------------0110000000-
    RT 6, 7, 8, 9, 10
    BI 11, 12, 13, 14, 15

setbcr
011111---------------0110100000-
    RT 6, 7, 8, 9, 10
    BI 11, 12, 13, 14, 15

setnbc
011111---------------0111000000-
    RT 6, 7, 8, 9, 10
    BI 11, 12, 13, 14, 15

setnbcr
011111---------------0111100000-
    RT 6, 7, 8, 9, 10
    BI 11, 12, 13, 14, 15

cnttzdm
011111---------------1000111011-
    RA 11, 12, 13, 14, 15
    RS 6, 7, 8, 9, 10
    RB 16, 17, 18, 19, 20

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


More information about the libre-soc-bugs mailing list