bpred_unit.hh (9480:d059f8a95a42) bpred_unit.hh (10244:d2deb51a4abf)
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * Copyright (c) 2010 The University of Edinburgh
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

85 * @param inst The branch instruction.
86 * @param PC The predicted PC is passed back through this parameter.
87 * @param tid The thread id.
88 * @return Returns if the branch is taken or not.
89 */
90 bool predict(StaticInstPtr &inst, const InstSeqNum &seqNum,
91 TheISA::PCState &pc, ThreadID tid);
92 bool predictInOrder(StaticInstPtr &inst, const InstSeqNum &seqNum,
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * Copyright (c) 2010 The University of Edinburgh
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

85 * @param inst The branch instruction.
86 * @param PC The predicted PC is passed back through this parameter.
87 * @param tid The thread id.
88 * @return Returns if the branch is taken or not.
89 */
90 bool predict(StaticInstPtr &inst, const InstSeqNum &seqNum,
91 TheISA::PCState &pc, ThreadID tid);
92 bool predictInOrder(StaticInstPtr &inst, const InstSeqNum &seqNum,
93 int asid, TheISA::PCState &instPC, TheISA::PCState &predPC,
94 ThreadID tid);
93 int asid, TheISA::PCState &instPC,
94 TheISA::PCState &predPC, ThreadID tid);
95
96 // @todo: Rename this function.
97 virtual void uncondBranch(void * &bp_history) = 0;
98
99 /**
100 * Tells the branch predictor to commit any updates until the given
101 * sequence number.
102 * @param done_sn The sequence number to commit any older updates up until.

--- 184 unchanged lines hidden ---
95
96 // @todo: Rename this function.
97 virtual void uncondBranch(void * &bp_history) = 0;
98
99 /**
100 * Tells the branch predictor to commit any updates until the given
101 * sequence number.
102 * @param done_sn The sequence number to commit any older updates up until.

--- 184 unchanged lines hidden ---