Hi !
Look at the files inside gem5/src/cpu/pred folder. These files contain
implementation of branch predictors. It should not be very hard to modify
the code according to your needs.

Regards

On Mon, Jul 25, 2016 at 1:23 AM, Zaman, Monir <monir.za...@utdallas.edu>
wrote:

> Hello all,
> I am trying to turn off the Branch Predictor that is used in the O3 CPU. I
> have seen 1 post in the user community asking similar question.
> http://comments.gmane.org/gmane.comp.emulators.m5.users/15688
>
> The answer provided was to create a dummy BP which always give “Not Taken”
> and that should do the trick. But being new with GEM5, what/where should I
> be looking into to implement the trick? I know the BranchPredictor.py
> script and able to select BP of my choice from the options given.
> Any suggestions would be great.
>
> [image: 😊]
>
> Monir
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to