Deleted Added
sdiff udiff text old ( 11783:f94c14fd6561 ) new ( 13626:d6a6358aa6db )
full compact
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

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

96 /**
97 * Updates the branch predictor with the actual result of a branch.
98 * @param branch_addr The address of the branch to update.
99 * @param taken Whether or not the branch was taken.
100 * @param bp_history Pointer to the BPHistory object that was created
101 * when the branch was predicted.
102 * @param squashed is set when this function is called during a squash
103 * operation.
104 */
105 void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
106 bool squashed);
107
108 /**
109 * Restores the global branch history on a squash.
110 * @param bp_history Pointer to the BPHistory object that has the
111 * previous global branch history in it.
112 */
113 void squash(ThreadID tid, void *bp_history);
114

--- 130 unchanged lines hidden ---