From: Steve Reinhardt Date: Wed, 4 Mar 2009 14:25:53 +0000 (-0500) Subject: O3: Make numThreads error message more helpful. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ee8e685a46ccd5314b93fec178cd73957c5b406;p=gem5.git O3: Make numThreads error message more helpful. --- 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::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(Impl::MaxThreads)); // Set fetch stage's status to inactive. _status = Inactive;