Lines Matching refs:r1

39  *  r1			SP
141 cout << "\tstfd\tf" << i << ",FPR_SAVE_" << i << "(r1)" << endl;
145 cout << "\tlfd \tf" << i << ",FPR_SAVE_" << i << "(r1)" << endl;
253 stwu r1,-BLOCKI_FSIZE(r1) /* allocate the stack frame */
256 stw r0,LR_SAVE+BLOCKI_FSIZE(r1) /* save return addr in the stack */
257 stw r11,CR_SAVE+BLOCKI_FSIZE(r1) /* save CR in the stack */
258 stmw r13,GPR_SAVE_13(r1) /* save non-volatile reg */
262 mr r3,r1 /* current thread (i.e. the SP) in arg "old" */
263 mr r1,r6 /* swap to the new thread (i.e. to its SP) */
268 lmw r13,GPR_SAVE_13(r1) /* restore non-volatile reg */
269 lwz r0,LR_SAVE+BLOCKI_FSIZE(r1) /* recover return addr */
270 lwz r11,CR_SAVE+BLOCKI_FSIZE(r1) /* recover CR */
273 addi r1,r1,BLOCKI_FSIZE /* free the stack frame */
307 mr r1,r6 /* swap to the new thread (i.e. to its SP) */
314 lmw r13,GPR_SAVE_13(r1) /* restore non-volatile reg */
315 lwz r0,LR_SAVE+BLOCKI_FSIZE(r1) /* recover return addr */
316 lwz r11,CR_SAVE+BLOCKI_FSIZE(r1) /* recover CR */
319 addi r1,r1,BLOCKI_FSIZE /* free the stack frame */
350 stwu r1,-BLOCK_FSIZE(r1) /* allocate the stack frame */
352 stw r0,LR_SAVE+BLOCK_FSIZE(r1) /* save return addr in the stack */
355 stfd f31,FPR_SAVE_31(r1)
356 stfd f30,FPR_SAVE_30(r1)
357 stfd f29,FPR_SAVE_29(r1)
358 stfd f28,FPR_SAVE_28(r1)
359 stfd f27,FPR_SAVE_27(r1)
360 stfd f26,FPR_SAVE_26(r1)
361 stfd f25,FPR_SAVE_25(r1)
362 stfd f24,FPR_SAVE_24(r1)
363 stfd f23,FPR_SAVE_23(r1)
364 stfd f22,FPR_SAVE_22(r1)
365 stfd f21,FPR_SAVE_21(r1)
366 stfd f20,FPR_SAVE_20(r1)
367 stfd f19,FPR_SAVE_19(r1)
368 stfd f18,FPR_SAVE_18(r1)
369 stfd f17,FPR_SAVE_17(r1)
370 stfd f16,FPR_SAVE_16(r1)
371 stfd f15,FPR_SAVE_15(r1)
372 stfd f14,FPR_SAVE_14(r1)
377 lfd f31,FPR_SAVE_31(r1)
378 lfd f30,FPR_SAVE_30(r1)
379 lfd f29,FPR_SAVE_29(r1)
380 lfd f28,FPR_SAVE_28(r1)
381 lfd f27,FPR_SAVE_27(r1)
382 lfd f26,FPR_SAVE_26(r1)
383 lfd f25,FPR_SAVE_25(r1)
384 lfd f24,FPR_SAVE_24(r1)
385 lfd f23,FPR_SAVE_23(r1)
386 lfd f22,FPR_SAVE_22(r1)
387 lfd f21,FPR_SAVE_21(r1)
388 lfd f20,FPR_SAVE_20(r1)
389 lfd f19,FPR_SAVE_19(r1)
390 lfd f18,FPR_SAVE_18(r1)
391 lfd f17,FPR_SAVE_17(r1)
392 lfd f16,FPR_SAVE_16(r1)
393 lfd f15,FPR_SAVE_15(r1)
394 lfd f14,FPR_SAVE_14(r1)
396 lwz r0,LR_SAVE+BLOCK_FSIZE(r1) /* recover return addr */
398 addi r1,r1,BLOCK_FSIZE /* free the stack frame */
433 lwz r3,PAR_0(r1) /* "u" in r3 */
434 lwz r4,PAR_1(r1) /* "t" in r4 */
435 lwz r5,PAR_2(r1) /* "userf" in r5 */
436 lwz r6,PAR_3(r1) /* "only" in r6 */
586 lwz r11,0(r1) /* get the backchain */
587 lwz r3,P_T(r1)
588 lwz r4,P_CLEANUP(r1)
593 lwz r5,P_STARTUP(r1)
598 lwz r11,0(r1) /* reload backchain (r11 is volatile) */
599 lwz r4,P_USERF(r1) /* load "userf" */
606 lwz r3,PAR_4(r1)
607 lwz r4,PAR_5(r1)
608 lwz r5,PAR_6(r1)
609 lwz r6,PAR_7(r1)
610 lwz r7,PAR_8(r1)
611 lwz r8,PAR_9(r1)
612 lwz r9,PAR_10(r1)
613 lwz r10,PAR_11(r1)
617 stw r11,VARGS_BKOFF(r1) /* copy backchain */
618 addi r1,r1,VARGS_BKOFF /* move back the stack */
623 lwz r11,0(r1) /* reload backchain (r11 is volatile) */