O3: Add fatal when fetchWidth > Impl::MaxWidth.
This commit is contained in:
parent
d2a0db7fe9
commit
98185658c5
1 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,10 @@ DefaultFetch<Impl>::DefaultFetch(O3CPU *_cpu, DerivO3CPUParams *params)
|
|||
fatal("numThreads (%d) is larger than compiled limit (%d),\n"
|
||||
"\tincrease MaxThreads in src/cpu/o3/impl.hh\n",
|
||||
numThreads, static_cast<int>(Impl::MaxThreads));
|
||||
if (fetchWidth > Impl::MaxWidth)
|
||||
fatal("fetchWidth (%d) is larger than compiled limit (%d),\n"
|
||||
"\tincrease MaxWidth in src/cpu/o3/impl.hh\n",
|
||||
fetchWidth, static_cast<int>(Impl::MaxWidth));
|
||||
|
||||
// Set fetch stage's status to inactive.
|
||||
_status = Inactive;
|
||||
|
|
Loading…
Reference in a new issue