Lines Matching refs:instPC
75 DefaultBTB::getIndex(Addr instPC, ThreadID tid)
78 return ((instPC >> instShiftAmt)
85 DefaultBTB::getTag(Addr instPC)
87 return (instPC >> tagShiftAmt) & tagMask;
91 DefaultBTB::valid(Addr instPC, ThreadID tid)
93 unsigned btb_idx = getIndex(instPC, tid);
95 Addr inst_tag = getTag(instPC);
112 DefaultBTB::lookup(Addr instPC, ThreadID tid)
114 unsigned btb_idx = getIndex(instPC, tid);
116 Addr inst_tag = getTag(instPC);
130 DefaultBTB::update(Addr instPC, const TheISA::PCState &target, ThreadID tid)
132 unsigned btb_idx = getIndex(instPC, tid);
139 btb[btb_idx].tag = getTag(instPC);