Lines Matching refs:g5
66 ! %g5 PC for fasttrap TL>0 handler
94 ! %g5 PC for fasttrap TL>0 handler
98 ldxa [%g3 + %g6]ASI_MEM, %g5 ! get PC from q base + head
121 stna %g5, [%g4 + TRAP_ENT_TR]%asi ! pc of the TL>0 handler
135 cmp %g5, %g4
148 * jmp %g5
155 cmp %g5, %g4
159 cmp %g5, %g4
185 jmp %g5 ! jump to traphandler
190 ldx [%g4], %g5
191 inc %g5
192 stx %g5, [%g4]
220 ! %g5 PC for fasttrap TL>0 handler
240 ! %g5 - inum
243 ldxa [%g3 + %g6]ASI_MEM, %g5 ! get inum from q base + head
250 cmp %g5, %g4
258 sll %g5, CPTRSHIFT, %g7 ! %g7 = offset to inum entry
326 stna %g5, [%g4 + TRAP_ENT_TR]%asi ! Inum
341 mov %g5, %g1 ! setvecint_tl1 expects inum in %g1
397 ldxa [%g7]ASI_MEM, %g5 ! %g5=first 8 byte of ER buf
398 cmp 0, %g5
403 set 0, %g5
404 ldxa [%g4 + %g5]ASI_MEM, %g1
405 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 0 - 7
406 add %g5, 8, %g5
407 ldxa [%g4 + %g5]ASI_MEM, %g1
408 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 8 - 15
409 add %g5, 8, %g5
410 ldxa [%g4 + %g5]ASI_MEM, %g1
411 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 16 - 23
412 add %g5, 8, %g5
413 ldxa [%g4 + %g5]ASI_MEM, %g1
414 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 24 - 31
415 add %g5, 8, %g5
416 ldxa [%g4 + %g5]ASI_MEM, %g1
417 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 32 - 39
418 add %g5, 8, %g5
419 ldxa [%g4 + %g5]ASI_MEM, %g1
420 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 40 - 47
421 add %g5, 8, %g5
422 ldxa [%g4 + %g5]ASI_MEM, %g1
423 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 48 - 55
424 add %g5, 8, %g5
425 ldxa [%g4 + %g5]ASI_MEM, %g1
426 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 56 - 63
428 set CPU_RQ_SIZE, %g5 ! %g5 = queue size
429 sub %g5, 1, %g5 ! %g5 = queu size mask
432 and %g6, %g5, %g6 ! size mask for warp around
529 ldxa [%g7]ASI_MEM, %g5 ! %g5 = first 8 byte of ER buf
530 cmp 0, %g5
535 set 0, %g5
536 ldxa [%g4 + %g5]ASI_MEM, %g1
537 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 0 - 7
538 add %g5, 8, %g5
539 ldxa [%g4 + %g5]ASI_MEM, %g1
540 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 8 - 15
541 add %g5, 8, %g5
542 ldxa [%g4 + %g5]ASI_MEM, %g1
543 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 16 - 23
544 add %g5, 8, %g5
545 ldxa [%g4 + %g5]ASI_MEM, %g1
546 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 24 - 31
547 add %g5, 8, %g5
548 ldxa [%g4 + %g5]ASI_MEM, %g1
549 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 32 - 39
550 add %g5, 8, %g5
551 ldxa [%g4 + %g5]ASI_MEM, %g1
552 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 40 - 47
553 add %g5, 8, %g5
554 ldxa [%g4 + %g5]ASI_MEM, %g1
555 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 48 - 55
556 add %g5, 8, %g5
557 ldxa [%g4 + %g5]ASI_MEM, %g1
558 stxa %g1, [%g7 + %g5]ASI_MEM ! byte 56 - 63
560 set CPU_NRQ_SIZE, %g5 ! %g5 = queue size
561 sub %g5, 1, %g5 ! %g5 = queu size mask
564 and %g6, %g5, %g6 ! size mask for warp around
614 set trap_table, %g5
615 cmp %g4, %g5
618 set etrap_table, %g5
619 cmp %g4, %g5
630 rdpr %tstate, %g5 ! %g5 = tstate[1]
631 btst TSTATE_PRIV, %g5