Lines Matching +full:10 +full:base +full:- +full:t1
8 * Multi-arch abstraction and asm macros for easier reading:
21 #include <asm/asm-offsets.h>
47 fpu_save_double a0 t0 t1 # clobbers t1
59 fpu_restore_double a0 t0 t1 # clobbers t1
92 * _save_fp_context() - save FP context from the FPU
93 * @a0 - pointer to fpregs field of sigcontext
94 * @a1 - pointer to fpc_csr field of sigcontext
102 cfc1 t1, fcr31
156 EX sw t1, 0(a1)
163 * _restore_fp_context() - restore FP context to the FPU
164 * @a0 - pointer to fpregs field of sigcontext
165 * @a1 - pointer to fpc_csr field of sigcontext
171 EX lw t1, 0(a1)
221 ctc1 t1, fcr31
229 .macro op_one_wr op, idx, base argument
231 \idx: \op \idx, 0, \base
241 PTR_LA t1, 0f
242 PTR_ADDU t0, t0, t1
255 op_one_wr \op, 10, a1
295 .macro save_msa_upper wr, off, base argument
300 EX sd $1, \off(\base)
303 EX sw $1, \off(\base)
305 EX sw $1, (\off+4)(\base)
308 EX sw $1, (\off+4)(\base)
310 EX sw $1, \off(\base)
326 save_msa_upper 10, 0x50, a0
352 .macro restore_msa_upper wr, off, base argument
356 EX ld $1, \off(\base)
359 EX lw $1, \off(\base)
361 EX lw $1, (\off+4)(\base)
364 EX lw $1, (\off+4)(\base)
366 EX lw $1, \off(\base)
383 restore_msa_upper 10, 0x50, a0
415 fault: li v0, -EFAULT # failure