diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
commit | ee7062d94d8216fbb1d279de1a6967381ef366d4 (patch) | |
tree | e9e84400a138f0927938d38aa184a7ec30439334 /src/cpu/inorder/resources/graduation_unit.cc | |
parent | 17f5749dbbb007ee56b60c27f15f43e2e5250408 (diff) | |
download | gem5-ee7062d94d8216fbb1d279de1a6967381ef366d4.tar.xz |
inorder: handle faults at writeback stage
call trap function when a fault is received
Diffstat (limited to 'src/cpu/inorder/resources/graduation_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/graduation_unit.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpu/inorder/resources/graduation_unit.cc b/src/cpu/inorder/resources/graduation_unit.cc index a7530345e..826ed8e03 100644 --- a/src/cpu/inorder/resources/graduation_unit.cc +++ b/src/cpu/inorder/resources/graduation_unit.cc @@ -68,13 +68,11 @@ GraduationUnit::execute(int slot_num) // Handle Any Faults Before Graduating Instruction if (inst->fault != NoFault) { cpu->trap(inst->fault, tid, inst); - grad_req->setCompleted(false); - return; } DPRINTF(InOrderGraduation, - "[tid:%i] Graduating instruction [sn:%i].\n", - tid, inst->seqNum); + "[tid:%i] Graduating instruction %s [sn:%i].\n", + tid, inst->instName(), inst->seqNum); // Release Non-Speculative "Block" on instructions that could not // execute because there was a non-speculative inst. active. |