diff options
author | Steve Reinhardt <stever@gmail.com> | 2009-03-04 09:25:53 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2009-03-04 09:25:53 -0500 |
commit | 9ee8e685a46ccd5314b93fec178cd73957c5b406 (patch) | |
tree | c4b7af785e9aedeaad9553925bcb66bf088c1f97 /src | |
parent | 307905095caaa277e8ccbd58f095381d79b0c402 (diff) | |
download | gem5-9ee8e685a46ccd5314b93fec178cd73957c5b406.tar.xz |
O3: Make numThreads error message more helpful.
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/o3/fetch_impl.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 06df46c2b..79a4f2b7a 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -132,7 +132,9 @@ DefaultFetch<Impl>::DefaultFetch(O3CPU *_cpu, DerivO3CPUParams *params) switchedOut(false) { if (numThreads > Impl::MaxThreads) - fatal("numThreads is not a valid value\n"); + 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)); // Set fetch stage's status to inactive. _status = Inactive; |