• Home
  • Raw
  • Download

Lines Matching refs:r5

57 #define EMERGENCY_PRINT_STORE_GPR5	l.sw    0x24(r0),r5
58 #define EMERGENCY_PRINT_LOAD_GPR5 l.lwz r5,0x24(r0)
88 #define EXCEPTION_STORE_GPR5 l.sw 0x70(r0),r5
89 #define EXCEPTION_LOAD_GPR5 l.lwz r5,0x70(r0)
459 CLEAR_GPR(r5)
526 LOAD_SYMBOL_2_GPR(r5,SPR_DTLBMR_BASE(0))
530 l.mtspr r5,r0,0x0
533 l.addi r5,r5,1
595 CLEAR_GPR(r5)
647 l.addi r5,r0,-1
648 l.xori r5,r5,SPR_SR_ICE
649 l.and r5,r6,r5
650 l.mtspr r0,r5,SPR_SR
674 l.sll r5,r14,r28
680 l.sfne r6,r5
713 l.addi r5,r0,-1
714 l.xori r5,r5,SPR_SR_DCE
715 l.and r5,r6,r5
716 l.mtspr r0,r5,SPR_SR
740 l.sll r5,r14,r28
743 l.sfne r6,r5
821 l.ori r5, r0, 0x1
822 l.sll r5, r5, r6 // r5 = number DMMU sets
823 l.addi r6, r5, -1 // r6 = nsets mask
828 l.movhi r5,hi(DTLB_MR_MASK) // r5 <- ffff:0000.x000
829 l.ori r5,r5,lo(DTLB_MR_MASK) // r5 <- ffff:1111.x001 - apply DTLB_MR_MASK
830 l.and r5,r5,r6 // r5 <- VPN :VPN .x001 - we have DTLBMR entry
831 l.mtspr r2,r5,SPR_DTLBMR_BASE(0) // set DTLBMR
842 l.movhi r5,hi(DTLB_TR_MASK) // r5 <- ffff:0000.x000
843 l.ori r5,r5,lo(DTLB_TR_MASK) // r5 <- ffff:1111.x330 - apply DTLB_MR_MASK
844 l.and r5,r5,r3 // r5 <- PPN :PPN .x330 - we have DTLBTR entry
845 l.mtspr r2,r5,SPR_DTLBTR_BASE(0) // set DTLBTR
908 l.ori r5, r0, 0x1
909 l.sll r5, r5, r6 // r5 = number IMMU sets from IMMUCFGR
910 l.addi r6, r5, -1 // r6 = nsets mask
915 l.movhi r5,hi(ITLB_MR_MASK) // r5 <- ffff:0000.x000
916 l.ori r5,r5,lo(ITLB_MR_MASK) // r5 <- ffff:1111.x001 - apply ITLB_MR_MASK
917 l.and r5,r5,r6 // r5 <- VPN :VPN .x001 - we have ITLBMR entry
918 l.mtspr r2,r5,SPR_ITLBMR_BASE(0) // set ITLBMR
935 l.movhi r5,hi(ITLB_TR_MASK) // r5 <- ffff:0000.x000
936 l.ori r5,r5,lo(ITLB_TR_MASK) // r5 <- ffff:1111.x050 - apply ITLB_MR_MASK
937 l.and r5,r5,r3 // r5 <- PPN :PPN .x050 - we have ITLBTR entry
938 l.mtspr r2,r5,SPR_ITLBTR_BASE(0) // set ITLBTR
983 GET_CURRENT_PGD(r3,r5) // r3 is current_pgd, r5 is temp
986 l.add r5,r4,r3 // r4 is pgd_index(daddr)
991 tophys (r4,r5)
1012 l.srli r5,r2,0xd // >> PAGE_SHIFT, r2 == EEAR
1013 l.andi r3,r5,0x7ff // (1UL << PAGE_SHIFT - 2) - 1
1035 l.and r5, r5, r6 // calc offset: & (NUM_TLB_ENTRIES-1)
1037 l.mtspr r5,r4,SPR_DTLBTR_BASE(0)
1045 l.mtspr r5,r4,SPR_DTLBMR_BASE(0)
1086 GET_CURRENT_PGD(r3,r5) // r3 is current_pgd, r5 is temp
1089 l.add r5,r4,r3 // r4 is pgd_index(daddr)
1094 tophys (r4,r5)
1118 l.srli r5,r2,0xd // >> PAGE_SHIFT, r2 == EEAR
1119 l.andi r3,r5,0x7ff // (1UL << PAGE_SHIFT - 2) - 1
1146 l.and r5, r5, r6 // calc offset: & (NUM_TLB_ENTRIES-1)
1158 l.mtspr r5,r4,SPR_ITLBTR_BASE(0)
1166 l.mtspr r5,r4,SPR_ITLBMR_BASE(0)
1215 LOAD_SYMBOL_2_GPR(r5,_immu_trampoline)
1216 tophys (r3,r5) // r3 is trampoline (physical)
1230 l.srli r5,r4,26 // check opcode for write access
1231 l.sfeqi r5,0 // l.j
1233 l.sfeqi r5,0x11 // l.jr
1235 l.sfeqi r5,1 // l.jal
1237 l.sfeqi r5,0x12 // l.jalr
1239 l.sfeqi r5,3 // l.bnf
1241 l.sfeqi r5,4 // l.bf
1266 l.ori r5,r0,0x1920 // 0x1920 == l.movhi r9
1267 l.sh (TRAMP_SLOT_0+0x0)(r3),r5
1268 l.srli r5,r6,16
1269 l.sh (TRAMP_SLOT_0+0x2)(r3),r5
1272 l.ori r5,r0,0xa929 // 0xa929 == l.ori r9
1273 l.sh (TRAMP_SLOT_1+0x0)(r3),r5
1274 l.andi r5,r6,0xffff
1275 l.sh (TRAMP_SLOT_1+0x2)(r3),r5
1287 l.addi r5,r3,0xc // new jump position (physical)
1288 l.slli r5,r5,4 // new jump position: shifted left 4
1293 l.sub r5,r4,r5 // old_jump - new_jump
1294 l.add r5,r6,r5 // orig_off + (old_jump - new_jump)
1295 l.srli r5,r5,6 // new offset shifted right 2
1299 l.sw TRAMP_SLOT_2(r3),r5 // write it back
1317 l.ori r5,r0,0x1920 // 0x1920 == l.movhi r9
1318 l.sh (TRAMP_SLOT_0+0x0)(r3),r5
1319 l.srli r5,r6,16
1320 l.sh (TRAMP_SLOT_0+0x2)(r3),r5
1323 l.ori r5,r0,0xa929 // 0xa929 == l.ori r9
1324 l.sh (TRAMP_SLOT_1+0x0)(r3),r5
1325 l.andi r5,r6,0xffff
1326 l.sh (TRAMP_SLOT_1+0x2)(r3),r5
1328 l.lhz r5,(TRAMP_SLOT_2+0x0)(r3) // load hi part of jump instruction
1329 l.andi r5,r5,0x3ff // clear out opcode part
1330 l.ori r5,r5,0x4400 // opcode changed from l.jalr -> l.jr
1331 l.sh (TRAMP_SLOT_2+0x0)(r3),r5 // write it back
1349 l.addi r5,r3,0xc // new jump position (physical)
1350 l.slli r5,r5,4 // new jump position: shifted left 4
1356 l.sub r6,r6,r5 // (orig_off + old_jump) - new_jump
1371 l.sub r4,r4,r5 // jump offset = target - new_position + 0x8
1381 LOAD_SYMBOL_2_GPR(r5,_immu_trampoline)
1382 l.mtspr r0,r5,SPR_EPCR_BASE
1399 l.mtspr r0,r5,SPR_ICBIR
1400 l.add r5,r5,r14
1401 l.mtspr r0,r5,SPR_ICBIR
1432 1: l.lbz r5,5(r4)
1433 l.andi r5,r5,0x20
1434 l.sfeq r5,r6
1441 1: l.lbz r5,5(r4)
1442 l.andi r5,r5,0x60
1443 l.sfeq r5,r6
1500 1: l.lbz r5,5(r4)
1501 l.andi r5,r5,0x20
1502 l.sfeq r5,r6
1509 1: l.lbz r5,5(r4)
1510 l.andi r5,r5,0x60
1511 l.sfeq r5,r6
1562 l.lbz r5,3(r3)
1563 l.ori r4,r5,0x80
1569 l.sb 0x3(r3),r5