Lines Matching refs:r2
164 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector flag
166 ori r2,r2,lo16(MASK(MSR_FP)) ; Add the FP flag
171 andc r11,r11,r2 // Clear out vec and fp
172 ori r2,r2,lo16(MASK(MSR_EE)) // Get EE on also
173 andc r2,r11,r2 // Clear out EE as well
175 ori r2,r2,MASK(MSR_FP) // must enable FP for G3...
177 oris r2,r2,hi16(MASK(MSR_VEC)) // enable altivec for G4 (ignored if G3)
178 mtmsr r2 // turn EE off, FP and VEC on
183 rlwinm r12,r2,0,MSR_DR_BIT+1,MSR_DR_BIT-1 // get ready to turn off DR
224 mtmsr r2 // turn DR back on
236 pmap_copy_g4: // r2=(MSR-EE), r12=(r2-DR), r10=features, r11=old MSR
286 mtmsr r2 // turn DR back on
323 andc r12,r2,r0 // turn off DR bit
371 mtmsrd r2 // turn DR back on, SF off
394 andc r12,r2,r0 // turn off DR bit
458 mtmsrd r2 // turn DR back on, SF off
508 mfcr r2,0x10 // save caller's cr3, which we use for flags
533 mfcr r2,0x10 // save caller's cr3, which we use for flags
571 mfcr r2,0x10 // save caller's cr3, which we use for flags
596 mfcr r2,0x10 // save caller's cr3, which we use for flags
604 // r2 = caller's cr3
624 stw r2,kkCR3(r1) // save caller's cr3, which we use for flags
653 lis r2,hi16(copyinout_error)
654 ori r2,r2,lo16(copyinout_error)
657 stw r2,THREAD_RECOVER(r8)
736 lwz r2,kkCR3(r1) // get callers cr3
750 mtcrf 0x10,r2 // restore cr3
765 mtcrf 0x10,r2 // restore cr3
770 mtcrf 0x10,r2 // restore cr3
797 rlwinm r2,r3,0,0x3 // get byte offset of 1st byte within word
800 sub r3,r3,r2 // word-align source address
801 add r6,r5,r2 // get length starting at byte 0 in word
820 subfic r0,r2,4 // get r0 <- #payload bytes in 1st word
877 rlwinm r2,r8,7,0,31 // move 0x01 bits to 0x80 position
879 andc r7,r7,r2 // turn off false hits from 0x0100 worst case
923 sub r2,r3,r12 // compute #bytes copied (including the 0)
925 stw r2,0(r9) // store #bytes moved