2bit_local.cc (12334:e0ab29a34764) 2bit_local.cc (13626:d6a6358aa6db)
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;

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

114 }
115#endif
116
117 return taken;
118}
119
120void
121LocalBP::update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
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;

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

114 }
115#endif
116
117 return taken;
118}
119
120void
121LocalBP::update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
122 bool squashed)
122 bool squashed, const StaticInstPtr & inst, Addr corrTarget)
123{
124 assert(bp_history == NULL);
125 unsigned local_predictor_idx;
126
127 // No state to restore, and we do not update on the wrong
128 // path.
129 if (squashed) {
130 return;

--- 41 unchanged lines hidden ---
123{
124 assert(bp_history == NULL);
125 unsigned local_predictor_idx;
126
127 // No state to restore, and we do not update on the wrong
128 // path.
129 if (squashed) {
130 return;

--- 41 unchanged lines hidden ---