Lines Matching full:g2
71 clr %g2
76 add %g2, 1, %g2
78 sub %g2, 1, %g2 ! restore back to orig window
79 brnz %g2, 2b
101 rdpr %canrestore, %g2
102 cmp %g2, %o0
165 rdpr %canrestore, %g2
166 cmp %g2, %o0
194 add %g2, 1, %o0 ! Failure; return deepest frame + 1
201 lduba [%o0 + %g1]ASI_USER, %g2
206 stub %g2, [%o1 + %g1]
215 lduba [%o0 + %g1]ASI_USER, %g2
226 lduba [%o0 + %g1]ASI_USER, %g2
228 stub %g2, [%o1 + %g1] ! Store byte
239 cmp %g2, 0 ! Was that '\0'?
243 lduba [%o0 + %g1]ASI_USER, %g2 ! delay: load user byte
254 ldub [%o0 + %g1], %g2
259 stba %g2, [%o1 + %g1]ASI_USER
268 ldub [%o0 + %g1], %g2
278 ldub [%o0 + %g1], %g2
280 stba %g2, [%o1 + %g1]ASI_USER
291 cmp %g2, 0
295 ldub [%o0 + %g1], %g2
338 * %g2 current window
364 rdpr %canrestore, %g2 ! compute the first non-user window
365 subcc %g4, %g2, %g2 ! current = %cwp - %canrestore
370 add %g2, %g3, %g2 ! normalize our current window if it's
371 add %g2, 1, %g2 ! less than zero
376 deccc %g2 ! decrement the current window
377 movl %xcc, %g3, %g2 ! normalize if it's negative (-1)
379 wrpr %g2, %cwp ! change windows
408 rdpr %canrestore, %g2 ! compute the first user window
409 sub %g4, %g2, %g2 ! current = %cwp - %canrestore -
410 subcc %g2, %o0, %g2 ! %otherwin
415 add %g2, %g3, %g2
416 add %g2, 1, %g2
419 wrpr %g2, %cwp ! change to the first user window
444 rdpr %cwp, %g2
448 sub %g2, %o3, %o2 ! %o2 is %cwp - %canrestore
462 wrpr %g2, %cwp
501 rdpr %cwp, %g2
505 sub %g2, %o3, %o2 ! %o2 is %cwp - %canrestore
518 wrpr %g2, %cwp