base.cc (8887:20ea02da9c53) | base.cc (8955:bbceb6297329) |
---|---|
1/* 2 * Copyright (c) 2010-2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 400 unchanged lines hidden (view full) --- 409 curStaticInst = instPtr; 410 } 411 } else { 412 //Read the next micro op from the macro op 413 curStaticInst = curMacroStaticInst->fetchMicroop(pcState.microPC()); 414 } 415 416 //If we decoded an instruction this "tick", record information about it. | 1/* 2 * Copyright (c) 2010-2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 400 unchanged lines hidden (view full) --- 409 curStaticInst = instPtr; 410 } 411 } else { 412 //Read the next micro op from the macro op 413 curStaticInst = curMacroStaticInst->fetchMicroop(pcState.microPC()); 414 } 415 416 //If we decoded an instruction this "tick", record information about it. |
417 if(curStaticInst) 418 { | 417 if (curStaticInst) { |
419#if TRACING_ON 420 traceData = tracer->getInstRecord(curTick(), tc, 421 curStaticInst, thread->pcState(), curMacroStaticInst); 422 | 418#if TRACING_ON 419 traceData = tracer->getInstRecord(curTick(), tc, 420 curStaticInst, thread->pcState(), curMacroStaticInst); 421 |
423 DPRINTF(Decode,"Decode: Decoded %s instruction: 0x%x\n", | 422 DPRINTF(Decode,"Decode: Decoded %s instruction: %#x\n", |
424 curStaticInst->getName(), curStaticInst->machInst); 425#endif // TRACING_ON 426 } 427} 428 429void 430BaseSimpleCPU::postExecute() 431{ --- 123 unchanged lines hidden --- | 423 curStaticInst->getName(), curStaticInst->machInst); 424#endif // TRACING_ON 425 } 426} 427 428void 429BaseSimpleCPU::postExecute() 430{ --- 123 unchanged lines hidden --- |