cpu: Fix memoryIssueLimit checking in Minor
authorAndrew Bardsley <Andrew.Bardsley@arm.com>
Tue, 2 Dec 2014 11:08:13 +0000 (06:08 -0500)
committerAndrew Bardsley <Andrew.Bardsley@arm.com>
Tue, 2 Dec 2014 11:08:13 +0000 (06:08 -0500)
This patch fixes the checking of the number of memory instructions issued
per cycles in the Minor CPU.

src/cpu/minor/execute.cc

index 69cb9a239fd4cc3676714a39feaa8646501782b2..f7b773377c79c609e075e065c5646c8adda2f25b 100644 (file)
@@ -671,7 +671,7 @@ Execute::issue(bool only_issue_microops)
                                 timing->extraAssumedLat;
                         }
 
-                        bool issued_mem_ref = inst->isMemRef();
+                        issued_mem_ref = inst->isMemRef();
 
                         QueuedInst fu_inst(inst);