Replies: 2 comments
-
Hi, I have a similar issue and I have not figured out yet what is wrong. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@giactra are you aware of any problems with the implementation of the instruction version of m5ops for Arm in SE mode? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Gem5 beginner here.
I am trying to get gem5 to output m5.stats (cache miss rate) of a ROI in the simulation code. Following the documentation M5ops, I used m5ops and wrote the simulated code like this:
Using SE mode and ARM arch (on X86 host) of Gem5, I called command:
But the simulated code aborted after printing "Preparation completed!". Here is the full output of gem5:
Though there is a panic of unknown inst(0x0000deff), I tried
remote-gdb
(gdb-multiarch) to debug and found out that the program actually aborted after calling <m5_dump_reset_stats>. It seems that the m5 op (ee420110 mcr 1, 2, r0, cr2, cr0, {0}) caused the error.More attempts show that all m5ops(including
m5_sum
,m5_reset_stats
) seem to trigger this problem, while not calling m5ops will run normally until the end of the program.How can I handle this? Or is there any other way for me to monitor the ROI code? Any information on this would be very helpful.
Here are some additional information:
Beta Was this translation helpful? Give feedback.
All reactions