inorder: track last branch committed
authorKorey Sewell <ksewell@umich.edu>
Sun, 31 Jan 2010 23:27:58 +0000 (18:27 -0500)
committerKorey Sewell <ksewell@umich.edu>
Sun, 31 Jan 2010 23:27:58 +0000 (18:27 -0500)
commit069b38c0d546708491d0da84668ba32f82ca7cb8
tree75e31122a4b77bddb6f3c5f0f35251c134046cba
parentaacc5cb205c17a91545a5d8209f5c4bda85543a9
inorder: track last branch committed
when threads are switching in/out the CPU, we need to keep
track of special cases like branches. Add appropriate
variables in ThreadState t track this and then use
these variables when updating pc after context switch
src/cpu/inorder/cpu.cc
src/cpu/inorder/pipeline_stage.cc
src/cpu/inorder/resources/fetch_seq_unit.cc
src/cpu/inorder/thread_state.hh