inorder: update branch predictor
authorKorey Sewell <ksewell@umich.edu>
Wed, 23 Jun 2010 22:19:18 +0000 (18:19 -0400)
committerKorey Sewell <ksewell@umich.edu>
Wed, 23 Jun 2010 22:19:18 +0000 (18:19 -0400)
commitdefab3ffd5d2e37215d3f9433dc9fc754a90a9a9
tree1fad74d7a7358dbcf6481781c05afe2ba31a97d6
parent9f0d8f252c2de0b9ac5654b2c35e913831eba756
inorder: update branch predictor
- use InOrderBPred instead of Resource for DPRINTFs
- account for DELAY SLOT in updating RAS and in squashing
- don't let squashed instructions update the predictor
- the BTB needs to use the ASID not the TID to work for multithreaded programs
- add stats for BTB hits
src/cpu/inorder/resources/bpred_unit.cc
src/cpu/inorder/resources/bpred_unit.hh
src/cpu/inorder/resources/branch_predictor.cc
src/cpu/inorder/resources/execution_unit.cc