Thank you, Ferran. I just tried a run with the ExecAll flag, it produces a good 
amount of information but not exactly what I need. I need to get the exact 
values of the operands not only the register names or addresses.

Thanks,
Mohammad

Sent from Mail for Windows 10

From: Ferran Olid
Sent: Thursday, May 4, 2017 11:26 AM
To: [email protected]
Subject: Re: [gem5-users] Dumping instruction operands

Hi Mohammad,
Have you tried using the debug options with "ExecAll"? If I didn't understand 
you wrong, this is what you're looking for.
Cheers,
Ferran O.
On 04/05/17 17:21, Mohammad Khasawneh wrote:
Hello all,
 
I’m trying to figure out a way to dump an instruction’s type, operand, and 
results. I found that in the iew stage right before the instruction is sent for 
execution I have access to its physical register numbers, and the register 
accessor functions in dyn_inst may allow me to read its operands. I still need 
to print its final result though after it returns from execution, which I can 
probably do with two dumps, one before the call to execute and one after.
 
Is there a more direct method I am missing on?
 
Thanks,
Mohammad



_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to