changeset ad5f1f128faf in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=ad5f1f128faf
description:
        O3: Add fatal when fetchWidth > Impl::MaxWidth.

diffstat:

 src/cpu/o3/fetch_impl.hh |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 351585c17699 -r ad5f1f128faf src/cpu/o3/fetch_impl.hh
--- a/src/cpu/o3/fetch_impl.hh  Fri Mar 09 16:45:47 2012 -0500
+++ b/src/cpu/o3/fetch_impl.hh  Sun Mar 11 10:20:54 2012 -0400
@@ -95,6 +95,10 @@
         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;
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to