fetch_impl.hh (5891:73084c6bb183) | fetch_impl.hh (5982:de47df436ace) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 retryTid(-1), 128 numThreads(params->numThreads), 129 numFetchingThreads(params->smtNumFetchingThreads), 130 interruptPending(false), 131 drainPending(false), 132 switchedOut(false) 133{ 134 if (numThreads > Impl::MaxThreads) | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127 retryTid(-1), 128 numThreads(params->numThreads), 129 numFetchingThreads(params->smtNumFetchingThreads), 130 interruptPending(false), 131 drainPending(false), 132 switchedOut(false) 133{ 134 if (numThreads > Impl::MaxThreads) |
135 fatal("numThreads is not a valid value\n"); | 135 fatal("numThreads (%d) is larger than compiled limit (%d),\n" 136 "\tincrease MaxThreads in src/cpu/o3/impl.hh\n", 137 numThreads, static_cast<int>(Impl::MaxThreads)); |
136 137 // Set fetch stage's status to inactive. 138 _status = Inactive; 139 140 std::string policy = params->smtFetchPolicy; 141 142 // Convert string to lowercase 143 std::transform(policy.begin(), policy.end(), policy.begin(), --- 1300 unchanged lines hidden --- | 138 139 // Set fetch stage's status to inactive. 140 _status = Inactive; 141 142 std::string policy = params->smtFetchPolicy; 143 144 // Convert string to lowercase 145 std::transform(policy.begin(), policy.end(), policy.begin(), --- 1300 unchanged lines hidden --- |