Lines Matching refs:thread
84 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
134 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu()
230 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler()
232 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
249 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
250 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
260 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
262 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
264 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
265 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
271 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
286 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
287 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
288 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
298 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
300 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
305 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
306 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
315 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
330 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
331 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
332 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
342 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
344 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
348 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
349 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
355 tsk->thread.xstate->hardfpu.fp_regs[n] = hx; in ieee_fpe_handler()
368 hx = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
370 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR) in ieee_fpe_handler()
375 llx = ((long long)tsk->thread.xstate->hardfpu.fp_regs[m] << 32) in ieee_fpe_handler()
376 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
378 tsk->thread.xstate->hardfpu.fpul = float64_to_float32(llx); in ieee_fpe_handler()
397 int roundingMode = FPSCR_ROUNDING_MODE(tsk->thread.xstate->hardfpu.fpscr); in float_rounding_mode()
409 tsk->thread.xstate->hardfpu.fpscr &= in BUILD_TRAP_HANDLER()
411 tsk->thread.xstate->hardfpu.fpscr |= fpu_exception_flags; in BUILD_TRAP_HANDLER()
414 tsk->thread.xstate->hardfpu.fpscr |= (fpu_exception_flags >> 10); in BUILD_TRAP_HANDLER()
418 if ((((tsk->thread.xstate->hardfpu.fpscr & FPSCR_ENABLE_MASK) >> 7) & in BUILD_TRAP_HANDLER()