Lines Matching refs:wix
1460 static __attribute__((noinline)) void cacheline_wback ( UWord wix ) in cacheline_wback() argument
1473 VG_(printf)("scache wback line %d\n", (Int)wix); in cacheline_wback()
1475 tl_assert(wix >= 0 && wix < N_WAY_NENT); in cacheline_wback()
1477 tag = cache_shmem.tags0[wix]; in cacheline_wback()
1478 cl = &cache_shmem.lyns0[wix]; in cacheline_wback()
1603 static __attribute__((noinline)) void cacheline_fetch ( UWord wix ) in cacheline_fetch() argument
1612 VG_(printf)("scache fetch line %d\n", (Int)wix); in cacheline_fetch()
1614 tl_assert(wix >= 0 && wix < N_WAY_NENT); in cacheline_fetch()
1616 tag = cache_shmem.tags0[wix]; in cacheline_fetch()
1617 cl = &cache_shmem.lyns0[wix]; in cacheline_fetch()
1650 Word wix; in shmem__invalidate_scache_range() local
1664 for (wix = 0; wix < nwix; wix++) { in shmem__invalidate_scache_range()
1675 Word wix; in shmem__flush_and_invalidate_scache() local
1679 for (wix = 0; wix < N_WAY_NENT; wix++) { in shmem__flush_and_invalidate_scache()
1680 tag = cache_shmem.tags0[wix]; in shmem__flush_and_invalidate_scache()
1685 cacheline_wback( wix ); in shmem__flush_and_invalidate_scache()
1687 cache_shmem.tags0[wix] = 1/*INVALID*/; in shmem__flush_and_invalidate_scache()
1725 UWord wix = (a >> N_LINE_BITS) & (N_WAY_NENT - 1); in get_cacheline() local
1727 if (LIKELY(tag == cache_shmem.tags0[wix])) { in get_cacheline()
1728 return &cache_shmem.lyns0[wix]; in get_cacheline()
1743 UWord wix = (a >> N_LINE_BITS) & (N_WAY_NENT - 1); in get_cacheline_MISS() local
1745 tl_assert(tag != cache_shmem.tags0[wix]); in get_cacheline_MISS()
1750 cl = &cache_shmem.lyns0[wix]; in get_cacheline_MISS()
1751 tag_old_p = &cache_shmem.tags0[wix]; in get_cacheline_MISS()
1757 cacheline_wback( wix ); in get_cacheline_MISS()
1761 cacheline_fetch( wix ); in get_cacheline_MISS()
1959 for (UWord wix = 0; wix < N_WAY_NENT; wix++) { in zsm_init() local
1960 cache_shmem.tags0[wix] = 1/*INVALID*/; in zsm_init()
5790 UWord wix = (a >> N_LINE_BITS) & (N_WAY_NENT - 1); in zsm_sset_range() local
5791 if (LIKELY(tag == cache_shmem.tags0[wix])) { in zsm_sset_range()
5833 UWord wix; in zsm_sset_range() local
5838 wix = (aligned_start >> N_LINE_BITS) & (N_WAY_NENT - 1); in zsm_sset_range()
5839 if (tag == cache_shmem.tags0[wix]) { in zsm_sset_range()
6968 UWord wix = (b >> N_LINE_BITS) & (N_WAY_NENT - 1); in libhb_srange_get_abits() local
6973 if (tag == cache_shmem.tags0[wix]) { in libhb_srange_get_abits()
6974 CacheLine copy = cache_shmem.lyns0[wix]; in libhb_srange_get_abits()