Lines Matching refs:g1
28 ld [%g1], %g7
30 st %g2, [%g1]
40 swap [%g1], %g2
56 1: ldstub [%g1 + 3], %g7 ! Spin on the byte lock for SMP.
59 ld [%g1], %g7 ! Load locked atomic_t
63 st %g7, [%g1] ! Clever: This releases the lock as well.
65 ld [%g1], %g7 ! Load locked atomic_t
67 st %g2, [%g1] ! Store it back
82 1: ldstub [%g1 + 3], %g7 ! Spin on the byte lock for SMP.
85 ld [%g1], %g7 ! Load locked atomic_t
89 st %g7, [%g1] ! Clever: This releases the lock as well
91 ld [%g1], %g7 ! Load locked atomic_t
93 st %g2, [%g1] ! Store it back