Griffen,

Please do not reply to an arbitrary thread from the mailing list if you have a 
new question to ask. Instead please create a new message. By replying to a 
message, even changing the subject there is a References header that is 
preserved and links your message back to previous topic. This makes searching 
the mailing list for information more difficult.

As for your problem, you could add a nop-equivalent instruction that in encoded 
in a strange way or one of the unused nop instructions that doesn't show up in 
your code to signal the beginning of the region of interest.

Ali



On Jun 4, 2011, at 10:34 AM, Griffin Wright wrote:

> Hello all:
> 
> I have a question regarding instruction/PC tracking with m5.  I'm working 
> with the ARM_SE simple atomic model, and I need to print out a sequence of 
> instructions at a specific point in the simulation.  I can do that easily 
> enough using the 'IntRegs' and 'Fetch' trace-flags, or having an inform() 
> statement in the code, but here's where I'm looking for some thoughts:
> 
> I duplicate select instructions in the code with an LLVM pass and I want to 
> see specific register contents at specific instrutions[PC] in m5 for a while 
> after an arbitrary point in the simulation.  Is there an easy way to do this 
> so that I can compare the same program points/instructions [not 
> checkpointing, though] in each run?  The way I see it currently, with 
> duplicated code, the number of simulated instructions increases, and PC's 
> will be different, so I'm not sure how to go about this.
> 
> Thanks,
> Griffin
> _______________________________________________
> 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