diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:12 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-06-24 15:34:12 -0400 |
commit | f95430d97e0a9a77b920ab3ca24b134bc682f655 (patch) | |
tree | 13a5424847b8e4a65135e82a518ef60ed069b2d3 /src/cpu/inorder/resources/graduation_unit.cc | |
parent | ecba3074c2eb9e873655a1e0e49bfd03e2bd2a41 (diff) | |
download | gem5-f95430d97e0a9a77b920ab3ca24b134bc682f655.tar.xz |
inorder: enforce 78-character rule
Diffstat (limited to 'src/cpu/inorder/resources/graduation_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/graduation_unit.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/cpu/inorder/resources/graduation_unit.cc b/src/cpu/inorder/resources/graduation_unit.cc index 2dad9889a..a9b96a49f 100644 --- a/src/cpu/inorder/resources/graduation_unit.cc +++ b/src/cpu/inorder/resources/graduation_unit.cc @@ -34,7 +34,8 @@ using namespace ThePipeline; GraduationUnit::GraduationUnit(std::string res_name, int res_id, int res_width, - int res_latency, InOrderCPU *_cpu, ThePipeline::Params *params) + int res_latency, InOrderCPU *_cpu, + ThePipeline::Params *params) : Resource(res_name, res_id, res_width, res_latency, _cpu), lastCycleGrad(0), numCycleGrad(0) @@ -60,9 +61,9 @@ GraduationUnit::execute(int slot_num) { case GraduateInst: { - // @TODO: Instructions should never really get to this point since this should be handled - // through the request interface. Check to make sure this happens and delete this - // code. + // @TODO: Instructions should never really get to this point since + // this should be handled through the request interface. Check to + // make sure this happens and delete this code. if (lastCycleGrad != curTick) { lastCycleGrad = curTick; numCycleGrad = 0; @@ -79,8 +80,8 @@ GraduationUnit::execute(int slot_num) "[tid:%i] Graduating instruction [sn:%i].\n", tid, inst->seqNum); - // Release Non-Speculative "Block" on instructions that could not execute - // because there was a non-speculative inst. active. + // Release Non-Speculative "Block" on instructions that could not + // execute because there was a non-speculative inst. active. // @TODO: Fix this functionality. Probably too conservative. if (inst->isNonSpeculative()) { *nonSpecInstActive[tid] = false; |