• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:tag

4033 ;			also update the pmap sub-tag as well.  The sub-tag is a table of 4 bit
4064 lwz r10,pmapSCSubTag(r25) ; Get the first part of the sub-tag lookup table
4065 lwz r11,pmapSCSubTag+4(r25) ; Get the second part of the sub-tag lookup table
4082 slwi r2,r7,2 ; Get index into the segment cache sub-tag index
4084 cmplwi r2,32 ; See if we are in the first or second half of sub-tag
4087 oris r0,r0,0xF000 ; Get the sub-tag mask
4089 srw r0,r0,r2 ; Slide sub-tag mask to right slot (shift work for either half)
4090 srw r5,r30,r2 ; Slide sub-tag to right slot (shift work for either half)
4093 andc r10,r10,r0 ; Clear sub-tag slot in case we are in top
4094 andc r11,r11,r0 ; Clear sub-tag slot in case we are in bottom
4101 bge hpfSCSTbottom ; Go save the bottom part of sub-tag
4103 stw r10,pmapSCSubTag(r25) ; Save the top of the sub-tag
4107 stw r11,pmapSCSubTag+4(r25) ; Save the bottom of the sub-tag
8042 ; We use a combination of three things: a mask of valid entries, a sub-tag, and the
8043 ; ESID (aka the "tag"). The mask indicates which of the cache slots actually contain
8044 ; an entry. The sub-tag is a 16 entry 4 bit array that contains the low order 4 bits
8048 ; The purpose of the sub-tag is to limit the number of searches necessary when looking
8052 ; Essentially, we will search only the slots that have a valid entry and whose sub-tag
8081 lwz r9,pmapSCSubTag(r3) ; Get the high part of the sub-tag
8082 rlwimi r5,r5,28,4,7 ; Copy sub-tag just to right of itself (XX------)
8084 rlwimi r5,r5,24,8,15 ; Copy doubled sub-tag to right of itself (XXXX----)
8134 cmplw r5,r4 ; Only need to check top because sub-tag is the entire other half