Lines Matching full:thread
120 .macro cpu_save_nonscratch thread
121 stptr.d s0, \thread, THREAD_REG23
122 stptr.d s1, \thread, THREAD_REG24
123 stptr.d s2, \thread, THREAD_REG25
124 stptr.d s3, \thread, THREAD_REG26
125 stptr.d s4, \thread, THREAD_REG27
126 stptr.d s5, \thread, THREAD_REG28
127 stptr.d s6, \thread, THREAD_REG29
128 stptr.d s7, \thread, THREAD_REG30
129 stptr.d s8, \thread, THREAD_REG31
130 stptr.d sp, \thread, THREAD_REG03
131 stptr.d fp, \thread, THREAD_REG22
134 .macro cpu_restore_nonscratch thread
135 ldptr.d s0, \thread, THREAD_REG23
136 ldptr.d s1, \thread, THREAD_REG24
137 ldptr.d s2, \thread, THREAD_REG25
138 ldptr.d s3, \thread, THREAD_REG26
139 ldptr.d s4, \thread, THREAD_REG27
140 ldptr.d s5, \thread, THREAD_REG28
141 ldptr.d s6, \thread, THREAD_REG29
142 ldptr.d s7, \thread, THREAD_REG30
143 ldptr.d s8, \thread, THREAD_REG31
144 ldptr.d ra, \thread, THREAD_REG01
145 ldptr.d sp, \thread, THREAD_REG03
146 ldptr.d fp, \thread, THREAD_REG22
149 .macro fpu_save_csr thread tmp
151 stptr.w \tmp, \thread, THREAD_FCSR
154 .macro fpu_restore_csr thread tmp
155 ldptr.w \tmp, \thread, THREAD_FCSR
159 .macro fpu_save_cc thread tmp0 tmp1
176 stptr.d \tmp1, \thread, THREAD_FCC
179 .macro fpu_restore_cc thread tmp0 tmp1
180 ldptr.d \tmp0, \thread, THREAD_FCC
199 .macro fpu_save_double thread tmp
201 PTR_ADD \tmp, \tmp, \thread
236 .macro fpu_restore_double thread tmp
238 PTR_ADD \tmp, \tmp, \thread