1/* 2 * Copyright (c) 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; --- 141 unchanged lines hidden (view full) --- 150 151 // set up memory request for instruction fetch 152 memReq = new Request(inst->threadNumber, fetch_PC, 153 sizeof(uint32_t), 154 IFETCH_FLAGS(thread->readPC()), 155 fetch_PC, thread->contextId(), 156 inst->threadNumber); 157 |
158 bool succeeded = itb->translate(memReq, thread); |
159 160 if (!succeeded) { 161 if (inst->getFault() == NoFault) { 162 // In this case the instruction was not a dummy 163 // instruction carrying an ITB fault. In the single 164 // threaded case the ITB should still be able to 165 // translate this instruction; in the SMT case it's 166 // possible that its ITB entry was kicked out. --- 318 unchanged lines hidden --- |