diff options
Diffstat (limited to 'cpu/o3/fu_pool.cc')
-rw-r--r-- | cpu/o3/fu_pool.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/o3/fu_pool.cc b/cpu/o3/fu_pool.cc index fb2b5c00d..b28b5d37f 100644 --- a/cpu/o3/fu_pool.cc +++ b/cpu/o3/fu_pool.cc @@ -183,6 +183,8 @@ FUPool::getUnit(OpClass capability) } } + assert(fu_idx < numFU); + unitBusy[fu_idx] = true; return fu_idx; |