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; --- 530 unchanged lines hidden (view full) --- 539 traceData); 540 delete dcache_pkt->req; 541 delete dcache_pkt; 542 dcache_pkt = NULL; 543 544 // keep an instruction count 545 if (fault == NoFault) 546 countInst(); |
547 } else if (traceData) { 548 // If there was a fault, we shouldn't trace this instruction. 549 delete traceData; 550 traceData = NULL; |
551 } 552 553 postExecute(); 554 advanceInst(fault); 555 } 556 } else { 557 // non-memory instruction: execute completely now 558 Fault fault = curStaticInst->execute(this, traceData); 559 560 // keep an instruction count 561 if (fault == NoFault) 562 countInst(); |
563 else if (traceData) { 564 // If there was a fault, we shouldn't trace this instruction. 565 delete traceData; 566 traceData = NULL; 567 } |
568 569 postExecute(); 570 advanceInst(fault); 571 } 572 573 delete pkt->req; 574 delete pkt; 575} --- 56 unchanged lines hidden (view full) --- 632 numCycles += curTick - previousTick; 633 previousTick = curTick; 634 635 Fault fault = curStaticInst->completeAcc(pkt, this, traceData); 636 637 // keep an instruction count 638 if (fault == NoFault) 639 countInst(); |
640 else if (traceData) { 641 // If there was a fault, we shouldn't trace this instruction. 642 delete traceData; 643 traceData = NULL; 644 } |
645 646 if (pkt->isRead() && pkt->isLocked()) { 647 TheISA::handleLockedRead(thread, pkt->req); 648 } 649 650 delete pkt->req; 651 delete pkt; 652 --- 121 unchanged lines hidden --- |