[gem5-users] Branch Misprediction counters

2023-09-27 Thread Abhishek Singh via gem5-users
Hello, I've observed that there are three counters that keep track of branch misprediction at different stages, specifically Decode, IEW, and Commit. 1. Could anyone confirm if my understanding is correct that the Decode counter

[gem5-users] Re: How to use Gem5 to collect instruction traces

2023-09-27 Thread Giacomo Travaglini via gem5-users
Hi Setu, It might depend on the ISA you are using. You can generate an instruction trace by running gem5 with --debug-flags=Exec option and this is valid for all ISAs. If you are simulating an Arm CPU, an instruction trace in the Tarmac format can also be generated. Kind Regards Giacomo