atomic.cc (4377:ca55a0b1990a) atomic.cc (4539:6eeeea62b7c4)
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;

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

535
536 if(curStaticInst)
537 {
538 fault = curStaticInst->execute(this, traceData);
539 postExecute();
540 }
541
542 // @todo remove me after debugging with legion done
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;

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

535
536 if(curStaticInst)
537 {
538 fault = curStaticInst->execute(this, traceData);
539 postExecute();
540 }
541
542 // @todo remove me after debugging with legion done
543 if (curStaticInst && (!curStaticInst->isMicroOp() ||
544 curStaticInst->isFirstMicroOp()))
543 if (curStaticInst && (!curStaticInst->isMicroop() ||
544 curStaticInst->isFirstMicroop()))
545 instCnt++;
546
547 if (simulate_stalls) {
548 Tick icache_stall =
549 icache_access ? icache_latency - cycles(1) : 0;
550 Tick dcache_stall =
551 dcache_access ? dcache_latency - cycles(1) : 0;
552 Tick stall_cycles = (icache_stall + dcache_stall) / cycles(1);

--- 126 unchanged lines hidden ---
545 instCnt++;
546
547 if (simulate_stalls) {
548 Tick icache_stall =
549 icache_access ? icache_latency - cycles(1) : 0;
550 Tick dcache_stall =
551 dcache_access ? dcache_latency - cycles(1) : 0;
552 Tick stall_cycles = (icache_stall + dcache_stall) / cycles(1);

--- 126 unchanged lines hidden ---