Hi Ayaz,

Thank you for your response!

I'm using debug flag Exec and a trace file to find the max insts of each test. 
The issue is that I have to run a large number of tests and each test has a 
different max insts count.
So, I was wandering if there's a way to automate the process.

Thank you for your help!
Evangelos
________________________________
Από: Ayaz Akram <[email protected]>
Στάλθηκε: Δευτέρα, 8 Μαΐου 2023 8:35 μμ
Προς: The gem5 Users mailing list <[email protected]>
Κοιν.: Kioulos Evangelos <[email protected]>
Θέμα: Re: [gem5-users] gem5 won't exit when running 'riscv-tests' in bare metal 
mode

Hi Evangelos,

The problem with these tests (in gem5) is discussed here 
(https://gem5.atlassian.net/browse/GEM5-938) in detail. Since they get stuck in 
a loop after executing some instructions (and I think this happens when the 
useful part of the benchmark is done), probably using max insts is a reasonable 
solution, but you will have to figure out the (max) number of insts. for each 
test separately.

-Ayaz

On Mon, May 8, 2023 at 10:26 AM Kioulos Evangelos via gem5-users 
<[email protected]<mailto:[email protected]>> wrote:
Hey everyone,

I'm running tests from the 'riscv-tests' suite in gem5 bare metal mode. The 
tests won't stop running and gem5 never exits.
I've tried using m5_exit, but it doesn't seem to work. To fix the issue, I used 
a max instruction limit.

Is there a better way to do this? Are m5ops supported in bare metal mode?

Thank you in advance for your help!
Evangelos
_______________________________________________
gem5-users mailing list -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to