2bit_local.hh (11783:f94c14fd6561) 2bit_local.hh (13626:d6a6358aa6db)
1/*
2 * Copyright (c) 2011, 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

87 void btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history);
88
89 /**
90 * Updates the branch predictor with the actual result of a branch.
91 * @param branch_addr The address of the branch to update.
92 * @param taken Whether or not the branch was taken.
93 */
94 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
1/*
2 * Copyright (c) 2011, 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

87 void btbUpdate(ThreadID tid, Addr branch_addr, void * &bp_history);
88
89 /**
90 * Updates the branch predictor with the actual result of a branch.
91 * @param branch_addr The address of the branch to update.
92 * @param taken Whether or not the branch was taken.
93 */
94 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
95 bool squashed);
95 bool squashed, const StaticInstPtr & inst, Addr corrTarget);
96
97 void squash(ThreadID tid, void *bp_history)
98 { assert(bp_history == NULL); }
99
100 void reset();
101
102 private:
103 /**

--- 27 unchanged lines hidden ---
96
97 void squash(ThreadID tid, void *bp_history)
98 { assert(bp_history == NULL); }
99
100 void reset();
101
102 private:
103 /**

--- 27 unchanged lines hidden ---