Lines Matching refs:a0
59 li a0, NUM_THREADS
63 ld a0, (t6)
64 beqz a0, _fail // exit if there's no worker thread
69 ld a0, (t6)
73 ld a0, (t6)
77 ld a0, (t6)
80 li a0, SUCCESS
95 la a0, futex_X
106 beqz a0, 1b
116 la a0, futex_Y
122 add t0, t0, a0 // track the number of waken threads so far
125 la a0, futex_X
131 add t0, t0, a0 // track the number of waken threads so far
147 la a0, futex_X
164 li a0, FAILURE