base.cc (3633:524f2aadbc89) base.cc (3905:071838517e31)
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;

--- 423 unchanged lines hidden (view full) ---

432 }
433}
434
435
436void
437BaseSimpleCPU::advancePC(Fault fault)
438{
439 if (fault != NoFault) {
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;

--- 423 unchanged lines hidden (view full) ---

432 }
433}
434
435
436void
437BaseSimpleCPU::advancePC(Fault fault)
438{
439 if (fault != NoFault) {
440 curMacroStaticInst = StaticInst::nullStaticInstPtr;
440 fault->invoke(tc);
441 } else {
442 //If we're at the last micro op for this instruction
443 if (curStaticInst->isLastMicroOp()) {
444 //We should be working with a macro op
445 assert(curMacroStaticInst);
446 //Close out this macro op, and clean up the
447 //microcode state

--- 33 unchanged lines hidden ---
441 fault->invoke(tc);
442 } else {
443 //If we're at the last micro op for this instruction
444 if (curStaticInst->isLastMicroOp()) {
445 //We should be working with a macro op
446 assert(curMacroStaticInst);
447 //Close out this macro op, and clean up the
448 //microcode state

--- 33 unchanged lines hidden ---