diff options
Diffstat (limited to 'src/cpu/inorder/resources')
-rw-r--r-- | src/cpu/inorder/resources/graduation_unit.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/inorder/resources/graduation_unit.cc b/src/cpu/inorder/resources/graduation_unit.cc index ebcf40c6a..c69e55512 100644 --- a/src/cpu/inorder/resources/graduation_unit.cc +++ b/src/cpu/inorder/resources/graduation_unit.cc @@ -66,7 +66,9 @@ GraduationUnit::execute(int slot_num) return; } - if (lastFaultTick[tid] == cur_tick) { + //@todo: use trap Pending + if (cpu->trapPending[tid]) { + //if (lastFaultTick[tid] == cur_tick) { DPRINTF(InOrderGraduation, "Unable to graduate [sn:%i]. " "Only 1 fault can be handled per tick.\n"); grad_req->done(false); |