Lines Matching defs:set1
288 UInt set1 = block1 & c->sets_min_1;
295 return cachesim_setref(c, set1, tag1);
303 CacheResult res1 = cachesim_setref(c, set1, tag1);
395 UInt set1 = ( a >> c->line_size_bits) & (c->sets_min_1);
400 if (set1 == set2)
401 return cachesim_setref_wb(c, ref, set1, tag);
404 /* Nb: this is a fast way of doing ((set1+1) % c->sets) */
405 else if (((set1 + 1) & (c->sets_min_1)) == set2) {
409 CacheResult res1 = cachesim_setref_wb(c, ref, set1, tag);
416 VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2);
689 UInt set1 = ( a >> L.line_size_bits) & (L.sets_min_1); \
698 L.name, a, size, set1, set2); \
701 if (set1 == set2) { \
703 set = &(L.tags[set1 * L.assoc]); \
711 idx = (set1 * L.assoc) + (set[0] & ~L.tag_mask); \
728 idx = (set1 * L.assoc) + (tmp_tag & ~L.tag_mask); \
744 idx = (set1 * L.assoc) + tmp_tag; \
749 /* Nb: this is a fast way of doing ((set1+1) % L.sets) */ \
750 } else if (((set1 + 1) & (L.sets_min_1)) == set2) { \
752 set = &(L.tags[set1 * L.assoc]); \
755 idx = (set1 * L.assoc) + (set[0] & ~L.tag_mask); \
770 idx = (set1 * L.assoc) + (tmp_tag & ~L.tag_mask); \
784 idx = (set1 * L.assoc) + tmp_tag; \
827 VG_(printf)("addr: %#lx size: %u sets: %d %d", a, size, set1, set2); \