Hello all,
I generated the instruction traces using
*​*./build/X86/gem5.debug  --debug-flags=Exec --debug-file=trace
./configs/example/se.py --sys-clock=2GHz  --cpu-type=
​atomic​
  --caches --l2cache --l2_size=1MB --l1d_size=64kB --l1i_size=32kB -c
./tests/test-progs/hello/bin/x86/linux/hello


   1000: system.cpu T0 : @_start+6.0  :   POP_R : ld   t1, SS:[rsp] :
MemRead :  D=0x0000000000000001 A=0x7fffffffee20
   1500: system.cpu T0 : @_start+6.1  :   POP_R : addi   rsp, rsp, 0x8 :
IntAlu :  D=0x00007fffffffee28
   2000: system.cpu T0 : @_start+6.2  :   POP_R : mov   rsi, rsi, t1 :
IntAlu :  D=0x0000000000000001
   3000: system.cpu T0 : @_start+7.0  :   MOV_R_R : mov   rdx, rdx, rsp :
IntAlu :  D=0x00007fffffffee28
   3500: system.cpu T0 : @_start+10.0  :   AND_R_I : limm   t1,
0xfffffffffffffff0 : IntAlu :  D=0xfffffffffffffff0​

*​This is what the trace looks like. I am trying to make sense out of this.
at 1000 ticks or 3rd cycle there is a memory read*

​ POP_R : ld   t1, SS:[rsp] : MemRead :  D=0x0000000000000001
A=0x7fffffffee20​
I am trying to understand which level of cache is being used and the
loaction in the cache being used. Do these addresses represent that?
D=0x0000000000000001 A=0x7fffffffee20​  also what D represents ans what A
represents?
If these addresses do not represent the address of memory being used then
how can I get that info.
​Thanks in Advance!​


*Regards,*
*Kassan Unda*

*Doctoral Candidate*
*Computer Engineering*
*Missouri S&T (Formerly University of Missouri Rolla)*
*WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>*

*"Do not go where the path may lead, go instead where there is no path  and
leave a trail."* Ralph Waldo Emerson
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to