diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:09:20 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-02-04 00:09:20 -0500 |
commit | e396a34b0155d5054a099c67a91baa66c095d3d8 (patch) | |
tree | 9372731b0110d067b4377ab73b1d62bbabf5efe3 /src/cpu/inorder/resources/branch_predictor.cc | |
parent | e57613588b15f25b5b912ae98134b6f1007988fd (diff) | |
download | gem5-e396a34b0155d5054a099c67a91baa66c095d3d8.tar.xz |
inorder: fault handling
Maintain all information about an instruction's fault in the DynInst object rather
than any cpu-request object. Also, if there is a fault during the execution stage
then just save the fault inside the instruction and trap once the instruction
tries to graduate
Diffstat (limited to 'src/cpu/inorder/resources/branch_predictor.cc')
-rw-r--r-- | src/cpu/inorder/resources/branch_predictor.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cpu/inorder/resources/branch_predictor.cc b/src/cpu/inorder/resources/branch_predictor.cc index c849ba163..8ca5a9718 100644 --- a/src/cpu/inorder/resources/branch_predictor.cc +++ b/src/cpu/inorder/resources/branch_predictor.cc @@ -67,13 +67,9 @@ BranchPredictor::execute(int slot_num) // After this is working, change this to a reinterpret cast // for performance considerations ResourceRequest* bpred_req = reqMap[slot_num]; - DynInstPtr inst = bpred_req->inst; ThreadID tid = inst->readTid(); int seq_num = inst->seqNum; - //int stage_num = bpred_req->getStageNum(); - - bpred_req->fault = NoFault; switch (bpred_req->cmd) { |