atomic.cc (4997:e7380529bd2d) atomic.cc (4998:51a0f9f59cc5)
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;

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

541 // into the CPU object's inst field.
542 //}
543
544 preExecute();
545
546 if(curStaticInst)
547 {
548 fault = curStaticInst->execute(this, traceData);
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;

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

541 // into the CPU object's inst field.
542 //}
543
544 preExecute();
545
546 if(curStaticInst)
547 {
548 fault = curStaticInst->execute(this, traceData);
549
550 // keep an instruction count
551 if (fault == NoFault)
552 countInst();
553
549 postExecute();
550 }
551
552 // @todo remove me after debugging with legion done
553 if (curStaticInst && (!curStaticInst->isMicroop() ||
554 curStaticInst->isFirstMicroop()))
555 instCnt++;
556

--- 64 unchanged lines hidden ---
554 postExecute();
555 }
556
557 // @todo remove me after debugging with legion done
558 if (curStaticInst && (!curStaticInst->isMicroop() ||
559 curStaticInst->isFirstMicroop()))
560 instCnt++;
561

--- 64 unchanged lines hidden ---