Lines Matching refs:indx
94 UWord indx; in do_cond_branch_predict() local
105 indx = (hist_bits << N_IADD_BITS) | iadd_bits; in do_cond_branch_predict()
106 tl_assert(indx < N_COUNTERS); in do_cond_branch_predict()
107 if (0) VG_(printf)("index = %d\n", (Int)indx); in do_cond_branch_predict()
110 predicted_taken = counters[ indx ] >= 2; in do_cond_branch_predict()
120 if (counters[indx] < 3) in do_cond_branch_predict()
121 counters[indx]++; in do_cond_branch_predict()
123 if (counters[indx] > 0) in do_cond_branch_predict()
124 counters[indx]--; in do_cond_branch_predict()
127 tl_assert(counters[indx] <= 3); in do_cond_branch_predict()
145 UWord indx = (instr_addr >> N_IADDR_LO_ZERO_BITS) in do_ind_branch_predict() local
147 tl_assert(indx < N_BTAC); in do_ind_branch_predict()
148 mispredict = btac[indx] != actual; in do_ind_branch_predict()
149 btac[indx] = actual; in do_ind_branch_predict()