diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:38 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:38 -0400 |
commit | c95fe261abab85bee247737a3d171378689891e0 (patch) | |
tree | 75569e5baa06a7bd25870505a48a3ddf24916475 /src/cpu/inorder/resource_pool.cc | |
parent | 4c979f9325f0c82f3284ce0fb0cc118d77268cb5 (diff) | |
download | gem5-c95fe261abab85bee247737a3d171378689891e0.tar.xz |
inorder: bug in mdu
segfault was caused by squashed multiply thats in the process of an event.
use isProcessing flag to handle this and cleanup the MDU code
Diffstat (limited to 'src/cpu/inorder/resource_pool.cc')
-rw-r--r-- | src/cpu/inorder/resource_pool.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource_pool.cc b/src/cpu/inorder/resource_pool.cc index a8a26f51e..0e89a7650 100644 --- a/src/cpu/inorder/resource_pool.cc +++ b/src/cpu/inorder/resource_pool.cc @@ -79,7 +79,10 @@ ResourcePool::ResourcePool(InOrderCPU *_cpu, ThePipeline::Params *params) stage_width, 0, _cpu, params)); resources.push_back(new MultDivUnit("mult_div_unit", MDU, - stage_width * 2, 0, _cpu, params)); + stage_width * 2, + 0, + _cpu, + params)); memObjects.push_back(DCache); resources.push_back(new CacheUnit("dcache_port", DCache, |