[llvm-dev] target porting : objdump is not giving proper registers.
Mahesh Bodapati via llvm-dev
llvm-dev at lists.llvm.org
Sun Dec 10 22:41:34 PST 2017
Hi,
we have seen proper register numbers when we have generated assembly files
through clang but
when we generated dump files from object file then we didn't see expected
register numbers.
Note : all registers are replaced with R0
*Disassembly of section .text:00000000 <main>: 0: 3000ffcc addik
r0, r0, -52 4: f8000000 swi r0, r0, 0 8: 10000000
addk r0, r0, r0 c: f800002c swi r0, r0, 44 10:
3000000a addik r0, r0, 10 14: f8000028 swi r0, r0,
40 18: 3000000f addik r0, r0, 15 1c: f8000024 swi
r0, r0, 36 20: e8000028 lwi r0, r0, 40 24: 6000000f
muli r0, r0, 15 28: f8000020 swi r0, r0, 32 2c:
10000000 addk r0, r0, r0 30: e8000000 lwi r0, r0,
0 34: b60f0008 rtsd r15, 8 38: 30000034 addik r0,
r0, 52*
I am not able to find where it went wrong.could you help me with some notes.
Thanks,
Mahesh B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171211/ebd506cd/attachment.html>
More information about the llvm-dev
mailing list