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; --- 604 unchanged lines hidden (view full) --- 613 614 615 // ifetch_req is initialized to read the instruction directly 616 // into the CPU object's inst field. 617 //} 618 619 preExecute(); 620 |
621 if (curStaticInst) { |
622 fault = curStaticInst->execute(this, traceData); 623 624 // keep an instruction count 625 if (fault == NoFault) 626 countInst(); |
627 else if (traceData) { 628 // If there was a fault, we should trace this instruction. 629 delete traceData; 630 traceData = NULL; 631 } |
632 633 postExecute(); 634 } 635 636 // @todo remove me after debugging with legion done 637 if (curStaticInst && (!curStaticInst->isMicroop() || 638 curStaticInst->isFirstMicroop())) 639 instCnt++; --- 65 unchanged lines hidden --- |