diff options
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r-- | src/cpu/o3/commit_impl.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh index 5ca15f611..35d21d071 100644 --- a/src/cpu/o3/commit_impl.hh +++ b/src/cpu/o3/commit_impl.hh @@ -108,6 +108,11 @@ DefaultCommit<Impl>::DefaultCommit(O3CPU *_cpu, DerivO3CPUParams *params) canHandleInterrupts(true), avoidQuiesceLiveLock(false) { + if (commitWidth > Impl::MaxWidth) + fatal("commitWidth (%d) is larger than compiled limit (%d),\n" + "\tincrease MaxWidth in src/cpu/o3/impl.hh\n", + commitWidth, static_cast<int>(Impl::MaxWidth)); + _status = Active; _nextStatus = Inactive; std::string policy = params->smtCommitPolicy; |