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/execution_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/execution_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/execution_unit.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/inorder/resources/execution_unit.cc b/src/cpu/inorder/resources/execution_unit.cc index 6c9b6322f..2e52c5ac5 100644 --- a/src/cpu/inorder/resources/execution_unit.cc +++ b/src/cpu/inorder/resources/execution_unit.cc @@ -249,8 +249,9 @@ ExecutionUnit::execute(int slot_num) exec_req->done(); } else { - warn("inst [sn:%i] had a %s fault", - seq_num, fault->name()); + warn("inst [sn:%i] had a %s fault", seq_num, fault->name()); + + exec_req->done(); } } else { // Regular ALU instruction |