Lines Matching refs:tmp1
58 .macro fpu_restore_csr thread tmp0 tmp1
68 la.pcrel \tmp1, 1f
69 alsl.d \tmp1, \tmp0, \tmp1, 3
70 jr \tmp1
91 .macro fpu_save_cc thread tmp0 tmp1
93 move \tmp1, \tmp0
95 bstrins.d \tmp1, \tmp0, 15, 8
97 bstrins.d \tmp1, \tmp0, 23, 16
99 bstrins.d \tmp1, \tmp0, 31, 24
101 bstrins.d \tmp1, \tmp0, 39, 32
103 bstrins.d \tmp1, \tmp0, 47, 40
105 bstrins.d \tmp1, \tmp0, 55, 48
107 bstrins.d \tmp1, \tmp0, 63, 56
108 stptr.d \tmp1, \thread, THREAD_FCC
111 .macro fpu_restore_cc thread tmp0 tmp1
113 bstrpick.d \tmp1, \tmp0, 7, 0
114 movgr2cf $fcc0, \tmp1
115 bstrpick.d \tmp1, \tmp0, 15, 8
116 movgr2cf $fcc1, \tmp1
117 bstrpick.d \tmp1, \tmp0, 23, 16
118 movgr2cf $fcc2, \tmp1
119 bstrpick.d \tmp1, \tmp0, 31, 24
120 movgr2cf $fcc3, \tmp1
121 bstrpick.d \tmp1, \tmp0, 39, 32
122 movgr2cf $fcc4, \tmp1
123 bstrpick.d \tmp1, \tmp0, 47, 40
124 movgr2cf $fcc5, \tmp1
125 bstrpick.d \tmp1, \tmp0, 55, 48
126 movgr2cf $fcc6, \tmp1
127 bstrpick.d \tmp1, \tmp0, 63, 56
128 movgr2cf $fcc7, \tmp1
279 .macro lsx_save_all thread tmp0 tmp1
280 fpu_save_cc \thread, \tmp0, \tmp1
285 .macro lsx_restore_all thread tmp0 tmp1
287 fpu_restore_cc \thread, \tmp0, \tmp1
288 fpu_restore_csr \thread, \tmp0, \tmp1
489 .macro lasx_save_all thread tmp0 tmp1
490 fpu_save_cc \thread, \tmp0, \tmp1
495 .macro lasx_restore_all thread tmp0 tmp1
497 fpu_restore_cc \thread, \tmp0, \tmp1
498 fpu_restore_csr \thread, \tmp0, \tmp1
509 .macro lasx_restore_upper xd base tmp0 tmp1 off
511 xvpermi.q \xd, \tmp1, 0x2