Lines Matching refs:btb_idx
93 unsigned btb_idx = getIndex(instPC, tid);
97 assert(btb_idx < numEntries);
99 if (btb[btb_idx].valid
100 && inst_tag == btb[btb_idx].tag
101 && btb[btb_idx].tid == tid) {
114 unsigned btb_idx = getIndex(instPC, tid);
118 assert(btb_idx < numEntries);
120 if (btb[btb_idx].valid
121 && inst_tag == btb[btb_idx].tag
122 && btb[btb_idx].tid == tid) {
123 return btb[btb_idx].target;
132 unsigned btb_idx = getIndex(instPC, tid);
134 assert(btb_idx < numEntries);
136 btb[btb_idx].tid = tid;
137 btb[btb_idx].valid = true;
138 btb[btb_idx].target = target;
139 btb[btb_idx].tag = getTag(instPC);