Hi all,

As I've previously mentioned, I'd like to run simulations using SMARTS  
methodology.  To do this, I will switch between O3CPU and AtomicSimpleCPU  
repeatedly.  I need to be able to keep the branch predictor warm when  
using Atomic, but at the moment this can't be done.

Does anyone have any ideas on the best way to do this?  I was wondering if  
I should make the branch predictor a new simulation object, like the  
caches, that can be attached to any type of CPU.  Then I could group all  
the code together in the cpu/pred directory instead of having duplicated  
code in cpu/o3/bpred_unit.cc and cpu/inorder/resources/bpred_unit.cc.  
Would that make sense, or am I thinking of using a sledge hammer to crack  
a nut?

Cheers
Tim


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to