Searched refs:BTB (Results 1 - 4 of 4) sorted by relevance

/gem5/src/cpu/pred/
H A Dbpred_unit.hh65 * and the BTB.
72 * @param params The params object, that has the size of the BP and BTB.
145 * If a branch is not taken, because the BTB address is invalid or missing,
155 * Looks up a given PC in the BTB to see if a matching entry exists.
157 * @return Whether the BTB contains the given PC.
160 { return BTB.valid(instPC, 0); }
163 * Looks up a given PC in the BTB to get the predicted target.
168 { return BTB.lookup(instPC, 0); }
188 * Updates the BTB with the target of a branch.
190 * @param target_PC The branch's target that will be added to the BTB
283 DefaultBTB BTB; member in class:BPredUnit
[all...]
H A Dbpred_unit.cc60 BTB(params->BTBEntries,
94 .desc("Number of BTB lookups")
99 .desc("Number of BTB hits")
104 .desc("Number of correct BTB predictions (this stat may not "
110 .desc("BTB Hit Percentage")
176 // If so, get its target addr either from the BTB or the RAS.
217 // Now lookup in the BTB or RAS.
255 // Check BTB on direct branches
256 if (BTB.valid(pc.instAddr(), tid)) {
258 // If it's not a return, use the BTB t
[all...]
/gem5/ext/mcpat/
H A Dcore.cc56 : McPATComponent(_xml_data), icache(NULL), IB(NULL), BTB(NULL),
129 * BTB branch target buffer, accessed during IF stage. Virtually indexed and virtually tagged
133 * 1) when BPT@ID stage finds out current is a taken branch while BTB missed
134 * 2) When BPT@ID stage predicts differently than BTB
135 * 3) When ID stage finds out current instruction is not a branch while BTB had a hit.(mark as invalid)
136 * 4) when EXEU find out wrong target has been provided from BTB.
170 BTB = new ArrayST(xml_data, &interface_ip, "Branch Target Buffer",
173 area.set_area(area.get_area() + BTB->local_result.area);
2363 BTB->tdp_stats.reset();
2364 BTB
[all...]
H A Dcore.h108 ArrayST* BTB; member in class:InstFetchU

Completed in 14 milliseconds