https://bugs.kde.org/show_bug.cgi?id=494252
Bug ID: 494252
Summary: s390x: incorrect disassembly for LOCHI and friends
Classification: Developer tools
Product: valgrind
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: vex
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 174510
--> https://bugs.kde.org/attachment.cgi?id=174510&action=edit
patch to fix disassembly for LOCHI and friends
Instruction Current disasm objdump -d
lochi %r3,7,0 lochi %r0,3,0,.+0 lochi %r3,7,0
lochi %r3,7,1 lochi %r1,3,0,.+2 lochio %r3,7
lochi %r3,7,2 lochi %r2,3,0,.+4 lochih %r3,7
lochi %r3,7,3 lochi %r3,3,0,.+6 lochinle %r3,7
lochi %r3,7,4 lochi %r4,3,0,.+8 lochil %r3,7
lochi %r3,7,5 lochi %r5,3,0,.+10 lochinhe %r3,7
lochi %r3,7,6 lochi %r6,3,0,.+12 lochilh %r3,7
lochi %r3,7,7 lochi %r7,3,0,.+14 lochine %r3,7
lochi %r3,7,8 lochi %r8,3,0,.+16 lochie %r3,7
lochi %r3,7,9 lochi %r9,3,0,.+18 lochinlh %r3,7
lochi %r3,7,10 lochi %r10,3,0,.+20 lochihe %r3,7
lochi %r3,7,11 lochi %r11,3,0,.+22 lochinl %r3,7
lochi %r3,7,12 lochi %r12,3,0,.+24 lochile %r3,7
lochi %r3,7,13 lochi %r13,3,0,.+26 lochinh %r3,7
lochi %r3,7,14 lochi %r14,3,0,.+28 lochino %r3,7
lochi %r3,7,15 lochi %r15,3,0,.+30 lochi %r3,7,15
The disassembly is totally bogus. And likewise for LOCGHI and LOCHHI.
It looks to me as if s390_format_RIE_RUPIX was copied'n pasted from
s390_format_RIS_RUPI but not adjusted.
Attached patch fixes the disassembly to match what objdump -d produces.
--
You are receiving this mail because:
You are watching all bug changes.