Lines Matching refs:r2
84 XSC(mrc p15, 0, r2, c15, c1, 0)
85 PJ4(mrc p15, 0, r2, c1, c0, 2)
87 XSC(tst r2, #0x3)
88 PJ4(tst r2, #0xf)
91 XSC(orr r2, r2, #0x3)
92 XSC(mcr p15, 0, r2, c15, c1, 0)
93 PJ4(orr r2, r2, #0xf)
94 PJ4(mcr p15, 0, r2, c1, c0, 2)
97 ldr r2, [r0, #S_PC] @ current task pc value
99 sub r2, r2, #4 @ adjust pc back
100 str r2, [r0, #S_PC]
104 mrc p15, 0, r2, c2, c0, 0
105 mov r2, r2 @ cpwait
119 tmrc r2, wCon
122 tst r2, #0x1
135 tst r2, #0x2
188 mov r2, #0
191 tmcr wCon, r2
208 orr r2, ip, #PSR_I_BIT @ disable interrupts
209 msr cpsr_c, r2
212 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
217 teqne r1, r2 @ or specified one?
230 mrc p15, 0, r2, c2, c0, 0
231 mov r2, r2 @ cpwait
240 mrc p15, 0, r2, c2, c0, 0
241 mov r2, r2 @ cpwait
260 orr r2, ip, #PSR_I_BIT @ disable interrupts
261 msr cpsr_c, r2
264 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
266 teq r2, r3 @ does this task own it...
272 mov r1, r2
273 mov r2, #MMX_SIZE
278 mov r2, #3 @ save all regs
298 orr r2, ip, #PSR_I_BIT @ disable interrupts
299 msr cpsr_c, r2
302 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
304 bic r2, r2, #0x7 @ 64-bit alignment
305 teq r2, r3 @ does this task own it...
340 ldr r2, =concan_owner
342 ldr r2, [r2] @ get current Concan owner
343 teq r2, r3 @ next task owns it?
364 mrs r2, cpsr
365 orr ip, r2, #PSR_I_BIT @ disable interrupts
372 msr cpsr_c, r2 @ restore interrupts