projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3079050
)
O3: Make numThreads error message more helpful.
author
Steve Reinhardt
<stever@gmail.com>
Wed, 4 Mar 2009 14:25:53 +0000
(09:25 -0500)
committer
Steve Reinhardt
<stever@gmail.com>
Wed, 4 Mar 2009 14:25:53 +0000
(09:25 -0500)
src/cpu/o3/fetch_impl.hh
patch
|
blob
|
history
diff --git
a/src/cpu/o3/fetch_impl.hh
b/src/cpu/o3/fetch_impl.hh
index 06df46c2bc8b9a4ed1b951f6756f4631b7385da3..79a4f2b7a9503ca490926db0a4c6d9c4f77bf885 100644
(file)
--- 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;