Lines Matching refs:MSR_FP

129 	if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP))  in msr_check_and_set()
147 if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) in __msr_check_and_clear()
162 msr &= ~(MSR_FP|MSR_FE0|MSR_FE1); in __giveup_fpu()
172 msr_check_and_set(MSR_FP); in giveup_fpu()
174 msr_check_and_clear(MSR_FP); in giveup_fpu()
194 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
216 cpumsr = msr_check_and_set(MSR_FP); in enable_kernel_fp()
218 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) { in enable_kernel_fp()
313 WARN_ON((msr & MSR_VSX) && !((msr & MSR_FP) && (msr & MSR_VEC))); in __giveup_vsx()
316 if (msr & MSR_FP) in __giveup_vsx()
326 msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
328 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in giveup_vsx()
337 cpumsr = msr_check_and_set(MSR_FP|MSR_VEC|MSR_VSX); in enable_kernel_vsx()
340 (current->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP))) { in enable_kernel_vsx()
361 if (tsk->thread.regs->msr & (MSR_VSX|MSR_VEC|MSR_FP)) { in flush_vsx_to_thread()
414 msr_all_available |= MSR_FP; in init_msr_all_available()
442 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in giveup_all()
444 if (usermsr & MSR_FP) in giveup_all()
532 if ((!(msr & MSR_FP)) && should_restore_fp()) in restore_math()
533 new_msr |= MSR_FP; in restore_math()
539 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
548 if (new_msr & MSR_FP) { in restore_math()
582 WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC))); in save_all()
584 if (usermsr & MSR_FP) in save_all()
940 if ((thr->ckpt_regs.msr & MSR_FP) == 0) in tm_reclaim_thread()
1053 new->thread.regs->msr &= ~(MSR_FP | MSR_VEC | MSR_VSX); in tm_recheckpoint_new_task()
1107 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
1110 if (msr_diff & MSR_FP) in restore_tm_state()
1412 {MSR_FP, "FP"},
1740 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1957 if (regs != NULL && (regs->msr & MSR_FP) != 0) { in set_fpexc_mode()