Lines Matching refs:regs
129 .macro save_general regs
130 STREG %r1, PT_GR1 (\regs)
131 STREG %r2, PT_GR2 (\regs)
132 STREG %r3, PT_GR3 (\regs)
133 STREG %r4, PT_GR4 (\regs)
134 STREG %r5, PT_GR5 (\regs)
135 STREG %r6, PT_GR6 (\regs)
136 STREG %r7, PT_GR7 (\regs)
137 STREG %r8, PT_GR8 (\regs)
138 STREG %r9, PT_GR9 (\regs)
139 STREG %r10, PT_GR10(\regs)
140 STREG %r11, PT_GR11(\regs)
141 STREG %r12, PT_GR12(\regs)
142 STREG %r13, PT_GR13(\regs)
143 STREG %r14, PT_GR14(\regs)
144 STREG %r15, PT_GR15(\regs)
145 STREG %r16, PT_GR16(\regs)
146 STREG %r17, PT_GR17(\regs)
147 STREG %r18, PT_GR18(\regs)
148 STREG %r19, PT_GR19(\regs)
149 STREG %r20, PT_GR20(\regs)
150 STREG %r21, PT_GR21(\regs)
151 STREG %r22, PT_GR22(\regs)
152 STREG %r23, PT_GR23(\regs)
153 STREG %r24, PT_GR24(\regs)
154 STREG %r25, PT_GR25(\regs)
156 STREG %r27, PT_GR27(\regs)
157 STREG %r28, PT_GR28(\regs)
160 STREG %r31, PT_GR31(\regs)
163 .macro rest_general regs
165 LDREG PT_GR2 (\regs), %r2
166 LDREG PT_GR3 (\regs), %r3
167 LDREG PT_GR4 (\regs), %r4
168 LDREG PT_GR5 (\regs), %r5
169 LDREG PT_GR6 (\regs), %r6
170 LDREG PT_GR7 (\regs), %r7
171 LDREG PT_GR8 (\regs), %r8
172 LDREG PT_GR9 (\regs), %r9
173 LDREG PT_GR10(\regs), %r10
174 LDREG PT_GR11(\regs), %r11
175 LDREG PT_GR12(\regs), %r12
176 LDREG PT_GR13(\regs), %r13
177 LDREG PT_GR14(\regs), %r14
178 LDREG PT_GR15(\regs), %r15
179 LDREG PT_GR16(\regs), %r16
180 LDREG PT_GR17(\regs), %r17
181 LDREG PT_GR18(\regs), %r18
182 LDREG PT_GR19(\regs), %r19
183 LDREG PT_GR20(\regs), %r20
184 LDREG PT_GR21(\regs), %r21
185 LDREG PT_GR22(\regs), %r22
186 LDREG PT_GR23(\regs), %r23
187 LDREG PT_GR24(\regs), %r24
188 LDREG PT_GR25(\regs), %r25
189 LDREG PT_GR26(\regs), %r26
190 LDREG PT_GR27(\regs), %r27
191 LDREG PT_GR28(\regs), %r28
194 LDREG PT_GR31(\regs), %r31
197 .macro save_fp regs
198 fstd,ma %fr0, 8(\regs)
199 fstd,ma %fr1, 8(\regs)
200 fstd,ma %fr2, 8(\regs)
201 fstd,ma %fr3, 8(\regs)
202 fstd,ma %fr4, 8(\regs)
203 fstd,ma %fr5, 8(\regs)
204 fstd,ma %fr6, 8(\regs)
205 fstd,ma %fr7, 8(\regs)
206 fstd,ma %fr8, 8(\regs)
207 fstd,ma %fr9, 8(\regs)
208 fstd,ma %fr10, 8(\regs)
209 fstd,ma %fr11, 8(\regs)
210 fstd,ma %fr12, 8(\regs)
211 fstd,ma %fr13, 8(\regs)
212 fstd,ma %fr14, 8(\regs)
213 fstd,ma %fr15, 8(\regs)
214 fstd,ma %fr16, 8(\regs)
215 fstd,ma %fr17, 8(\regs)
216 fstd,ma %fr18, 8(\regs)
217 fstd,ma %fr19, 8(\regs)
218 fstd,ma %fr20, 8(\regs)
219 fstd,ma %fr21, 8(\regs)
220 fstd,ma %fr22, 8(\regs)
221 fstd,ma %fr23, 8(\regs)
222 fstd,ma %fr24, 8(\regs)
223 fstd,ma %fr25, 8(\regs)
224 fstd,ma %fr26, 8(\regs)
225 fstd,ma %fr27, 8(\regs)
226 fstd,ma %fr28, 8(\regs)
227 fstd,ma %fr29, 8(\regs)
228 fstd,ma %fr30, 8(\regs)
229 fstd %fr31, 0(\regs)
232 .macro rest_fp regs
233 fldd 0(\regs), %fr31
234 fldd,mb -8(\regs), %fr30
235 fldd,mb -8(\regs), %fr29
236 fldd,mb -8(\regs), %fr28
237 fldd,mb -8(\regs), %fr27
238 fldd,mb -8(\regs), %fr26
239 fldd,mb -8(\regs), %fr25
240 fldd,mb -8(\regs), %fr24
241 fldd,mb -8(\regs), %fr23
242 fldd,mb -8(\regs), %fr22
243 fldd,mb -8(\regs), %fr21
244 fldd,mb -8(\regs), %fr20
245 fldd,mb -8(\regs), %fr19
246 fldd,mb -8(\regs), %fr18
247 fldd,mb -8(\regs), %fr17
248 fldd,mb -8(\regs), %fr16
249 fldd,mb -8(\regs), %fr15
250 fldd,mb -8(\regs), %fr14
251 fldd,mb -8(\regs), %fr13
252 fldd,mb -8(\regs), %fr12
253 fldd,mb -8(\regs), %fr11
254 fldd,mb -8(\regs), %fr10
255 fldd,mb -8(\regs), %fr9
256 fldd,mb -8(\regs), %fr8
257 fldd,mb -8(\regs), %fr7
258 fldd,mb -8(\regs), %fr6
259 fldd,mb -8(\regs), %fr5
260 fldd,mb -8(\regs), %fr4
261 fldd,mb -8(\regs), %fr3
262 fldd,mb -8(\regs), %fr2
263 fldd,mb -8(\regs), %fr1
264 fldd,mb -8(\regs), %fr0
355 .macro save_specials regs
357 SAVE_SP (%sr0, PT_SR0 (\regs))
358 SAVE_SP (%sr1, PT_SR1 (\regs))
359 SAVE_SP (%sr2, PT_SR2 (\regs))
360 SAVE_SP (%sr3, PT_SR3 (\regs))
361 SAVE_SP (%sr4, PT_SR4 (\regs))
362 SAVE_SP (%sr5, PT_SR5 (\regs))
363 SAVE_SP (%sr6, PT_SR6 (\regs))
364 SAVE_SP (%sr7, PT_SR7 (\regs))
366 SAVE_CR (%cr17, PT_IASQ0(\regs))
368 SAVE_CR (%cr17, PT_IASQ1(\regs))
370 SAVE_CR (%cr18, PT_IAOQ0(\regs))
372 SAVE_CR (%cr18, PT_IAOQ1(\regs))
381 STREG %r1, PT_SAR (\regs)
383 SAVE_CR (%cr11, PT_SAR (\regs))
385 SAVE_CR (%cr19, PT_IIR (\regs))
392 STREG %r8, PT_PSW(\regs)
395 .macro rest_specials regs
397 REST_SP (%sr0, PT_SR0 (\regs))
398 REST_SP (%sr1, PT_SR1 (\regs))
399 REST_SP (%sr2, PT_SR2 (\regs))
400 REST_SP (%sr3, PT_SR3 (\regs))
401 REST_SP (%sr4, PT_SR4 (\regs))
402 REST_SP (%sr5, PT_SR5 (\regs))
403 REST_SP (%sr6, PT_SR6 (\regs))
404 REST_SP (%sr7, PT_SR7 (\regs))
406 REST_CR (%cr17, PT_IASQ0(\regs))
407 REST_CR (%cr17, PT_IASQ1(\regs))
409 REST_CR (%cr18, PT_IAOQ0(\regs))
410 REST_CR (%cr18, PT_IAOQ1(\regs))
412 REST_CR (%cr11, PT_SAR (\regs))
414 REST_CR (%cr22, PT_PSW (\regs))