cpu: Fix a bug in counting issued instructions in MinorCPU
authorAndrew Bardsley <Andrew.Bardsley@arm.com>
Tue, 26 May 2015 07:21:37 +0000 (03:21 -0400)
committerAndrew Bardsley <Andrew.Bardsley@arm.com>
Tue, 26 May 2015 07:21:37 +0000 (03:21 -0400)
commitcea1d14a937f27fa49423bd01eb900e578993a43
tree36851d5ce94c417ddbf5b50c038079628c6286a0
parentcc2346e8ca7ad247c701ec58ffddd98fa9f03574
cpu: Fix a bug in counting issued instructions in MinorCPU

The MinorCPU would count bubbles in Execute::issue as part of
the num_insts_issued and so sometimes reach the instruction
issue limit incorrectly.

Fixed by checking for a bubble in one new place.
src/cpu/minor/execute.cc