Riddhi, You can get the values of these registers if you add some more Exec* flags. IIRC ExecResult might be useful as well. You can see the full list of debug flags with --debug-help.
Nikos From: gem5-users <gem5-users-boun...@gem5.org> on behalf of Google <thakker.wri...@gmail.com> Reply-To: gem5 users mailing list <gem5-users@gem5.org> Date: Wednesday, 11 July 2018 at 10:52 To: "gem5-users@gem5.org" <gem5-users@gem5.org> Subject: Re: [gem5-users] size variable in Packet class Hi Nikos, Thanks again. You actually did give an useful hint. I used these flags, and I got following type of data: .... system.cpu 0x3698a02f73 : mov DS:[r12 + 0x340], rsi system.cpu 0x3698a02f73.0 : MOV_M_R : st rsi, DS:[r12 + 0x340] : system.cpu 0x3698a02f7b : sub rsi, DS:[r12] system.cpu 0x3698a02f7b.0 : SUB_R_M : ld t1, DS:[r12] : system.cpu 0x3698a02f7b.1 : SUB_R_M : sub rsi, rsi, t1 : system.cpu 0x3698a02f7f : add DS:[r12 + 0x348], rsi system.cpu 0x3698a02f7f.0 : ADD_M_R : ldst t1, DS:[r12 + 0x348] : system.cpu 0x3698a02f7f.1 : ADD_M_R : add t1, t1, rsi : system.cpu 0x3698a02f7f.2 : ADD_M_R : st t1, DS:[r12 + 0x348] : system.cpu 0x3698a02f87 : add DS:[r12 + 0x350], rsi system.cpu 0x3698a02f87.0 : ADD_M_R : ldst t1, DS:[r12 + 0x350] : system.cpu 0x3698a02f87.1 : ADD_M_R : add t1, t1, rsi : system.cpu 0x3698a02f87.2 : ADD_M_R : st t1, DS:[r12 + 0x350] : system.cpu 0x3698a02f92 : add rcx, DS:[r12 + 0x10] system.cpu 0x3698a02f92.0 : ADD_R_M : ld t1, DS:[r12 + 0x10] : system.cpu 0x3698a02f92.1 : ADD_R_M : add rcx, rcx, t1 : system.cpu 0x3698a02f97 : mov DS:[r12], rsi .... From this I can make out that ADD instruction are taking place. Consider this: ADD_R_M: add rcx, rcx, t1: I want the value of these variable rcx, t1, etc. If you can think of someway to get this, then it would be great. Thanks a lot for your help. It was really helpful. Regards, Riddhi Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users