Lines Matching refs:r2
79 #define EXCEPTION_STORE_GPR2 l.sw 0x64(r0),r2
80 #define EXCEPTION_LOAD_GPR2 l.lwz r2,0x64(r0)
456 CLEAR_GPR(r2)
592 CLEAR_GPR(r2)
824 l.and r2, r3, r6 // r2 <- r3 % NSETS_MASK
831 l.mtspr r2,r5,SPR_DTLBMR_BASE(0) // set DTLBMR
845 l.mtspr r2,r5,SPR_DTLBTR_BASE(0) // set DTLBTR
911 l.and r2, r3, r6 // r2 <- r3 % NSETS_MASK
918 l.mtspr r2,r5,SPR_ITLBMR_BASE(0) // set ITLBMR
938 l.mtspr r2,r5,SPR_ITLBTR_BASE(0) // set ITLBTR
979 l.mfspr r2,r0,SPR_EEAR_BASE
984 l.srli r4,r2,0x18 // >> PAGE_SHIFT + (PAGE_SHIFT - 2)
1012 l.srli r5,r2,0xd // >> PAGE_SHIFT, r2 == EEAR
1016 l.lwz r2,0x0(r3) // this is pte at last
1020 l.andi r4,r2,0x1
1027 l.and r4,r2,r3 // apply the mask
1041 l.mfspr r2,r0,SPR_EEAR_BASE
1043 l.and r4,r2,r3 // apply PAGE_MASK to EA (__PHX__ do we really need this?)
1080 l.mfspr r2,r0,SPR_EEAR_BASE
1087 l.srli r4,r2,0x18 // >> PAGE_SHIFT + (PAGE_SHIFT - 2)
1118 l.srli r5,r2,0xd // >> PAGE_SHIFT, r2 == EEAR
1122 l.lwz r2,0x0(r3) // this is pte at last
1127 l.andi r4,r2,0x1
1134 l.and r4,r2,r3 // apply the mask
1135 l.andi r3,r2,0x7c0 // _PAGE_EXEC | _PAGE_SRE | _PAGE_SWE | _PAGE_URE | _PAGE_UWE
1162 l.mfspr r2,r0,SPR_EEAR_BASE
1164 l.and r4,r2,r3 // apply PAGE_MASK to EA (__PHX__ do we really need this?)
1213 tophys(r6,r2)
1263 l.addi r6,r2,0x4 // this is 0xaaaabbbb
1284 l.slli r4,r2,4 // old jump position: EEA shifted left 4
1314 l.addi r6,r2,0x4 // this is 0xaaaabbbb
1346 l.slli r4,r2,4 // old jump position: EEA shifted left 4
1368 tophys (r4,r2) // may not be needed (due to shifts down_