[Libre-soc-bugs] [Bug 964] binutils: support maddedu, divmod2du instructions
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sat Oct 22 17:02:52 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=964
--- Comment #1 from Dmitry Selyutin <ghostmansd at gmail.com> ---
[ghostmansd at dell gas]$ cat ~/Code/test.s
sv.maddedu 31,0,0,0
sv.maddedu 0,31,0,0
sv.maddedu 0,0,31,0
sv.maddedu 0,0,0,31
sv.divmod2du 31,0,0,0
sv.divmod2du 0,31,0,0
sv.divmod2du 0,0,31,0
sv.divmod2du 0,0,0,31
[ghostmansd at dell gas]$ ../binutils/objdump -dr -Mlibresoc /tmp/test.o
/tmp/test.o: file format elf64-powerpcle
Disassembly of section .text:
0000000000000000 <.text>:
0: 00 00 40 05 sv.maddedu r31,r0,r0,r0
4: 32 00 e0 13
8: 00 00 40 05 sv.maddedu r0,r31,r0,r0
c: 32 00 1f 10
10: 00 00 40 05 sv.maddedu r0,r0,r31,r0
14: 32 f8 00 10
18: 00 00 40 05 sv.maddedu r0,r0,r0,r31
1c: f2 07 00 10
20: 00 00 40 05 sv.divmod2du r31,r0,r0,r0
24: 34 00 e0 13
28: 00 00 40 05 sv.divmod2du r0,r31,r0,r0
2c: 34 00 1f 10
30: 00 00 40 05 sv.divmod2du r0,r0,r31,r0
34: 34 f8 00 10
38: 00 00 40 05 sv.divmod2du r0,r0,r0,r31
3c: f4 07 00 10
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list