Lines Matching refs:thread
88 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
138 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu()
234 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler()
236 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
252 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
253 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
254 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
264 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
266 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
268 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
269 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
275 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
290 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
291 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
292 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
302 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
304 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
309 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
310 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
319 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
334 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
335 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
336 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
346 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
348 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
352 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
353 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
359 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
372 hx = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
374 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR) in ieee_fpe_handler()
379 llx = ((long long)tsk->thread.xstate->hardfpu.fp_regs[m] << 32) in ieee_fpe_handler()
380 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
382 tsk->thread.xstate->hardfpu.fpul = float64_to_float32(llx); in ieee_fpe_handler()
401 int roundingMode = FPSCR_ROUNDING_MODE(tsk->thread.xstate->hardfpu.fpscr); in float_rounding_mode()
413 tsk->thread.xstate->hardfpu.fpscr &= in BUILD_TRAP_HANDLER()
415 tsk->thread.xstate->hardfpu.fpscr |= fpu_exception_flags; in BUILD_TRAP_HANDLER()
418 tsk->thread.xstate->hardfpu.fpscr |= (fpu_exception_flags >> 10); in BUILD_TRAP_HANDLER()
422 if ((((tsk->thread.xstate->hardfpu.fpscr & FPSCR_ENABLE_MASK) >> 7) & in BUILD_TRAP_HANDLER()