Lines Matching refs:tmp2
58 #define DCACHE_FLUSHPAGE(arg1, arg2, tmp1, tmp2, tmp3) \
63 ASM_LD(tmp2, dflush_type) ;\
64 cmp tmp2, FLUSHPAGE_TYPE ;\
69 cmp tmp2, FLUSHMATCH_TYPE ;\
77 sub tmp3, tmp1, tmp2 ;\
79 stxa %g0, [tmp2]ASI_DC_TAG ;\
81 cmp %g0, tmp2 ;\
83 sub tmp2, tmp1, tmp2 ;\
91 * tmp2 = tag from cache \
113 * tmp2 = cache tag \
118 ldxa [arg2]ASI_DC_TAG, tmp2 /* read tag */ ;\
119 btst CHEETAH_DC_VBIT_MASK, tmp2 ;\
121 andn tmp2, CHEETAH_DC_VBIT_MASK, tmp2 /* clear out v bits */ ;\
122 cmp tmp2, arg1 ;\
140 * tmp1, tmp2, tmp3 = scratch registers
143 #define DCACHE_FLUSHCOLOR(arg, way, tmp1, tmp2, tmp3) \
152 sllx arg, MMU_PAGESHIFT, tmp2; /* color to dcache page */ \
155 or tmp2, tmp3, tmp3; \
156 set MMU_PAGESIZE, tmp2; \
158 * tmp2 = page size \
161 sub tmp2, tmp1, tmp2; \
163 stxa %g0, [tmp3 + tmp2]ASI_DC_TAG; \
165 cmp %g0, tmp2; \
167 sub tmp2, tmp1, tmp2; \