base.cc (2665:a124942bacb8) | base.cc (2671:28ad11557754) |
---|---|
1/* 2 * Copyright (c) 2002-2005 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; --- 394 unchanged lines hidden (view full) --- 403#endif // FULL_SYSTEM 404} 405 406void 407BaseSimpleCPU::postExecute() 408{ 409#if FULL_SYSTEM 410 if (system->kernelBinning->fnbin) { | 1/* 2 * Copyright (c) 2002-2005 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; --- 394 unchanged lines hidden (view full) --- 403#endif // FULL_SYSTEM 404} 405 406void 407BaseSimpleCPU::postExecute() 408{ 409#if FULL_SYSTEM 410 if (system->kernelBinning->fnbin) { |
411 assert(kernelStats); | 411 assert(cpuXC->getKernelStats()); |
412 system->kernelBinning->execute(xcProxy, inst); 413 } 414 415 if (cpuXC->profile) { 416 bool usermode = 417 (cpuXC->readMiscReg(AlphaISA::IPR_DTB_CM) & 0x18) != 0; 418 cpuXC->profilePC = usermode ? 1 : cpuXC->readPC(); 419 ProfileNode *node = cpuXC->profile->consume(xcProxy, inst); --- 53 unchanged lines hidden --- | 412 system->kernelBinning->execute(xcProxy, inst); 413 } 414 415 if (cpuXC->profile) { 416 bool usermode = 417 (cpuXC->readMiscReg(AlphaISA::IPR_DTB_CM) & 0x18) != 0; 418 cpuXC->profilePC = usermode ? 1 : cpuXC->readPC(); 419 ProfileNode *node = cpuXC->profile->consume(xcProxy, inst); --- 53 unchanged lines hidden --- |