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

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

552 Tick stall_cycles = (icache_stall + dcache_stall) / cycles(1);
553 if (cycles(stall_cycles) < (icache_stall + dcache_stall))
554 latency += cycles(stall_cycles+1);
555 else
556 latency += cycles(stall_cycles);
557 }
558
559 }
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;

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

552 Tick stall_cycles = (icache_stall + dcache_stall) / cycles(1);
553 if (cycles(stall_cycles) < (icache_stall + dcache_stall))
554 latency += cycles(stall_cycles+1);
555 else
556 latency += cycles(stall_cycles);
557 }
558
559 }
560 if(predecoder.needMoreBytes() || fault != NoFault)
560 if(fault != NoFault || !stayAtPC)
561 advancePC(fault);
562 }
563
564 if (_status != Idle)
565 tickEvent.schedule(curTick + latency);
566}
567
568

--- 110 unchanged lines hidden ---
561 advancePC(fault);
562 }
563
564 if (_status != Idle)
565 tickEvent.schedule(curTick + latency);
566}
567
568

--- 110 unchanged lines hidden ---