Re: [gem5-users] Can we use inorder-cpu(MinoCPU) with x86

2020-01-10 Thread CS18M010 RICHA CHAUDHRY
how to find power profiling in gem5 simulator On Fri, Jan 10, 2020 at 9:32 PM Jason Lowe-Power wrote: > Hello, > > As far as I know, the MinorCPU has never been updated to fully support > x86. IIRC, it's missing support for x86 locked instructions. However, it's > possible that some applications

Re: [gem5-users] Zero cost print for debugging/profiling code in se.py

2020-01-10 Thread Steve Reinhardt
The PCEventQueue in src/cpu/pc_event.hh allows you to trigger events on the execution of particular PCs. The difficulty of course is mapping source code to PCs. You would also not be able to pass any data to the event. Using an m5op would incur some small overhead for fetching & executing the op

Re: [gem5-users] Zero cost print for debugging/profiling code in se.py

2020-01-10 Thread Ciro Santilli
You could hack up custom m5op magic instructions easily by copying existing ones, but I think it still takes up a memory fetch/decode. Better than that, only if you hack a way to do something when a given PC is reached. Maybe have a look at how Linux detects panics by reading the PC of the panic s

[gem5-users] Zero cost print for debugging/profiling code in se.py

2020-01-10 Thread Subhankar Pal
Hi! I am trying to profile code in detail running on a MinorCPU in SE mode. I'd like to add profiling instructions into my code, whose execution shouldn't affect the timing and the code should take the same time to run as it would without those instructions. At minimum, the profiling instruction s

Re: [gem5-users] Can we use inorder-cpu(MinoCPU) with x86

2020-01-10 Thread Jason Lowe-Power
Hello, As far as I know, the MinorCPU has never been updated to fully support x86. IIRC, it's missing support for x86 locked instructions. However, it's possible that some applications will execute correctly on the MinorCPU. I suggest running some tests to find out what works and what doesn't :).

Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

2020-01-10 Thread Dimitrios Chasapis
I am not sure if this is possible in FS, at least not the same way you do in SE.  You will need to use simpoints in order to create checkpoints for you code.  After that you basically segment your code into smaller, say 100 instructions per segment, which you can run.  Check the link I sent

[gem5-users] Can we use inorder-cpu(MinoCPU) with x86

2020-01-10 Thread Muhammad Aamir
Hi, According to this list, http://gem5.org/Status_Matrix, The inorderCPU(or MinorCPU) doesnot work with the x86 architecture, but according to this mailing list https://www.mail-archive.com/gem5-users@gem5.org/msg12214.html Someone was able to to use the inorderCPU(MinorCPU) for the x86 architec