[Libre-soc-bugs] [Bug 898] binutils svp64 objdump support
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sun Aug 21 10:52:53 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=898
--- Comment #8 from Dmitry Selyutin <ghostmansd at gmail.com> ---
There was an issue in the previous version, fixed now. Here's the assembly code
I just checked:
sv.bc 2, 9, 8
sv.add 55, 66, 77
sv.add./mr *44, *35, *121
Considering the binary generated by binutils (either directly or indirectly via
pysvp64asm), here's what we have with pysvp64dis applied:
.llong 0x540000040490008 # sv.bc
SVP64Instruction(0x540000040490008, major=0x1, prefix.insn=0x5400000,
prefix.major=0x1, prefix.pid=0x3, prefix.rm.spr=0x0, prefix.rm.mmode=0x0,
prefix.rm.mask=0x0, prefix.rm.elwidth=0x0, prefix.rm.ewsrc=0x0,
prefix.rm.subvl=0x0, prefix.rm.extra=0x0, prefix.rm.mode=0x0,
prefix.rm.extra2[0]=0x0, prefix.rm.extra2[1]=0x0, prefix.rm.extra2[2]=0x0,
prefix.rm.extra2[3]=0x0, prefix.rm.smask=0x0, prefix.rm.extra3[0]=0x0,
prefix.rm.extra3[1]=0x0, prefix.rm.extra3[2]=0x0, suffix.major=0x10)
.llong 0x5400a407ee26a14 # sv.add
SVP64Instruction(0x5400a407ee26a14, major=0x1, prefix.insn=0x5400a40,
prefix.major=0x1, prefix.pid=0x3, prefix.rm.spr=0xa40, prefix.rm.mmode=0x0,
prefix.rm.mask=0x0, prefix.rm.elwidth=0x0, prefix.rm.ewsrc=0x0,
prefix.rm.subvl=0x0, prefix.rm.extra=0x52, prefix.rm.mode=0x0,
prefix.rm.extra2[0]=0x0, prefix.rm.extra2[1]=0x2, prefix.rm.extra2[2]=0x2,
prefix.rm.extra2[3]=0x1, prefix.rm.smask=0x2, prefix.rm.extra3[0]=0x1,
prefix.rm.extra3[1]=0x2, prefix.rm.extra3[2]=0x2, suffix.major=0x1f)
.llong 0x54027a47d68f215 # sv.add
SVP64Instruction(0x54027a47d68f215, major=0x1, prefix.insn=0x54027a4,
prefix.major=0x1, prefix.pid=0x3, prefix.rm.spr=0x27a4, prefix.rm.mmode=0x0,
prefix.rm.mask=0x0, prefix.rm.elwidth=0x0, prefix.rm.ewsrc=0x0,
prefix.rm.subvl=0x0, prefix.rm.extra=0x13d, prefix.rm.mode=0x4,
prefix.rm.extra2[0]=0x2, prefix.rm.extra2[1]=0x1, prefix.rm.extra2[2]=0x3,
prefix.rm.extra2[3]=0x2, prefix.rm.smask=0x5, prefix.rm.extra3[0]=0x4,
prefix.rm.extra3[1]=0x7, prefix.rm.extra3[2]=0x5, suffix.major=0x1f)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list