Deleted Added
sdiff udiff text old ( 3791:f1783bae1afe ) new ( 3795:60ecc96c3cee )
full compact
1/*
2 * Copyright (c) 2004-2006 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;

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

509
510 // Send back the rob squashing signal so other stages know that
511 // the ROB is in the process of squashing.
512 toIEW->commitInfo[tid].robSquashing = true;
513
514 toIEW->commitInfo[tid].branchMispredict = false;
515
516 toIEW->commitInfo[tid].nextPC = PC[tid];
517}
518
519template <class Impl>
520void
521DefaultCommit<Impl>::squashFromTrap(unsigned tid)
522{
523 squashAll(tid);
524

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

765
766 toIEW->commitInfo[tid].branchMispredict =
767 fromIEW->branchMispredict[tid];
768
769 toIEW->commitInfo[tid].branchTaken =
770 fromIEW->branchTaken[tid];
771
772 toIEW->commitInfo[tid].nextPC = fromIEW->nextPC[tid];
773
774 toIEW->commitInfo[tid].mispredPC = fromIEW->mispredPC[tid];
775
776 if (toIEW->commitInfo[tid].branchMispredict) {
777 ++branchMispredicts;
778 }
779 }
780

--- 627 unchanged lines hidden ---