Lines Matching refs:current_thread_info
103 u64 fsr = current_thread_info()->xfsr[0]; in record_exception()
148 current_thread_info()->xfsr[0] = fsr; in record_exception()
220 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu()
228 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu()
273 XR = current_thread_info()->xfsr[0] >> 10; in do_mathemu()
275 XR = current_thread_info()->xfsr[0] >> (30 + ((insn >> 10) & 0x6)); in do_mathemu()
347 current_thread_info()->xfsr[0] &= ~(FSR_CEXC_MASK); in do_mathemu()
368 int ftt = (current_thread_info()->xfsr[0] >> 14) & 0x7; in do_mathemu()
372 current_thread_info()->xfsr[0] &= ~0x1c000; in do_mathemu()
376 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu()
382 if (!(current_thread_info()->fpsaved[0] & flags)) in do_mathemu()
394 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu()
400 if (!(current_thread_info()->fpsaved[0] & flags)) in do_mathemu()
412 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu()
418 if (!(current_thread_info()->fpsaved[0] & FPRS_FEF)) { in do_mathemu()
419 current_thread_info()->fpsaved[0] = FPRS_FEF; in do_mathemu()
420 current_thread_info()->gsr[0] = 0; in do_mathemu()
422 if (!(current_thread_info()->fpsaved[0] & flags)) { in do_mathemu()
428 current_thread_info()->fpsaved[0] |= flags; in do_mathemu()
496 case 0: xfsr = current_thread_info()->xfsr[0]; in do_mathemu()
505 current_thread_info()->xfsr[0] = xfsr; in do_mathemu()
519 current_thread_info()->xfsr[0] &= ~(FSR_CEXC_MASK); in do_mathemu()