[gem5-users] Re: Support for CAS (compare and swap) instruction in ARM arch

2021-09-30 Thread Giacomo Travaglini via gem5-users
Hi Mahita, Could you debug it with gdb and let us know which stat gets initialized twice? Kind Regards Giacomo > -Original Message- > From: Mahita Nagabhiru > Sent: 29 September 2021 12:00 > To: Giacomo Travaglini > Cc: gem5 users mailing list > Subject: Re: [gem5-users] Support for

[gem5-users] Re: encounter a problem when using O3 CPU under PowerPC ISA

2021-09-30 Thread Boris Shingarov via gem5-users
I don't think O3 ever worked with PowerPC.  We have plans to fix it some day (but this will not be soon).-"yangyuqing--- via gem5-users" wrote: -To: gem5-users@gem5.orgFrom: "yangyuqing--- via gem5-users" Date: 09/30/2021 02:06AMCc: yangyuq...@sjtu

[gem5-users] Re: Get Size of Stack and Heap

2021-09-30 Thread Jason Lowe-Power via gem5-users
Hi Ange, If you're using SE mode, you may be able to augment the allocation code to track the heap size. E.g., https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/src/sim/mem_state.cc#108 In fact, the MemState object tracks both the stack and the heap, so you can get a lot of informatio