Home
last modified time | relevance | path

Searched refs:MSR_FP (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/arch/powerpc/kernel/
Dfpu.S62 ori r5,r6,MSR_FP
88 ori r3,r3,MSR_FP
130 ori r5,r5,MSR_FP
159 li r10,MSR_FP|MSR_FE0|MSR_FE1
168 ori r9,r9,MSR_FP /* enable FP for current */
174 ori r12,r12,MSR_FP
199 ori r5,r5,MSR_FP
224 li r3,MSR_FP|MSR_FE0|MSR_FE1
Dprocess.c136 if (tsk->thread.regs->msr & MSR_FP) { in flush_fp_to_thread()
160 if (current->thread.regs && (current->thread.regs->msr & MSR_FP)) in enable_kernel_fp()
544 if (msr_diff & MSR_FP) in tm_reclaim_thread()
551 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX | MSR_FE0 | MSR_FE1; in tm_reclaim_thread()
694 if (msr & MSR_FP) { in tm_recheckpoint_new_task()
697 (MSR_FP | new->thread.fpexc_mode); in tm_recheckpoint_new_task()
745 msr_diff &= MSR_FP | MSR_VEC | MSR_VSX; in restore_tm_state()
746 if (msr_diff & MSR_FP) { in restore_tm_state()
796 if (prev->thread.regs && (prev->thread.regs->msr & MSR_FP)) in __switch_to()
970 {MSR_FP, "FP"},
[all …]
Dtm.S122 ori r15, r15, MSR_FP
162 andi. r0, r4, MSR_FP
339 ori r5, r5, MSR_FP
370 andi. r0, r4, MSR_FP
Dsignal_64.c261 if (msr & MSR_FP) in setup_tm_sigcontexts()
366 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_sigcontext()
485 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX); in restore_tm_sigcontexts()
550 if (msr & MSR_FP) { in restore_tm_sigcontexts()
552 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_sigcontexts()
Dtraps.c1478 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in fp_unavailable_tm()
1486 tm_recheckpoint(&current->thread, MSR_FP); in fp_unavailable_tm()
1510 if (regs->msr & MSR_FP) { in altivec_unavailable_tm()
1534 if ((orig_msr & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) { in vsx_unavailable_tm()
1542 regs->msr |= MSR_VEC | MSR_FP | current->thread.fpexc_mode | in vsx_unavailable_tm()
1550 if (orig_msr & MSR_FP) in vsx_unavailable_tm()
Dsignal_32.c593 if (msr & MSR_FP) { in save_tm_user_regs()
744 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1); in restore_user_regs()
837 regs->msr &= ~(MSR_FP | MSR_FE0 | MSR_FE1); in restore_tm_user_regs()
898 if (msr & MSR_FP) { in restore_tm_user_regs()
900 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_user_regs()
Dvector.S228 andi. r5,r12,MSR_FP
337 ori r11,r10,MSR_FP
Dcpu_setup_6xx.S284 ori r11,r10,MSR_FP
Dentry_64.S457 li r0, MSR_FP
1069 ori r9,r9,MSR_IR|MSR_DR|MSR_FE0|MSR_FE1|MSR_FP|MSR_RI|MSR_LE
Dentry_32.S610 li r0,MSR_FP /* Disable floating-point */
Dexceptions-64s.S552 ori r10,r10,(MSR_FP|MSR_FE0|MSR_FE1)
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_pr.c133 kvmppc_giveup_ext(vcpu, MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_core_vcpu_put_pr()
398 if (kvmppc_get_msr(vcpu) & MSR_FP) in kvmppc_set_msr_pr()
399 kvmppc_handle_ext(vcpu, BOOK3S_INTERRUPT_FP_UNAVAIL, MSR_FP); in kvmppc_set_msr_pr()
657 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext()
667 if (msr & MSR_FP) { in kvmppc_giveup_ext()
673 if (t->regs->msr & MSR_FP) in kvmppc_giveup_ext()
738 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext()
750 if (msr & MSR_FP) { in kvmppc_handle_ext()
787 if (lost_ext & MSR_FP) { in kvmppc_handle_lost_ext()
1164 ext_msr = MSR_FP; in kvmppc_handle_exit_pr()
[all …]
Dbooke.c141 if (!(current->thread.regs->msr & MSR_FP)) { in kvmppc_load_guest_fp()
145 current->thread.regs->msr |= MSR_FP; in kvmppc_load_guest_fp()
157 if (current->thread.regs->msr & MSR_FP) in kvmppc_save_guest_fp()
168 vcpu->arch.shadow_msr &= ~MSR_FP; in kvmppc_vcpu_sync_fpu()
169 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_FP; in kvmppc_vcpu_sync_fpu()
Dbook3s_emulate.c425 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_core_emulate_mtspr_pr()
Dbook3s_paired_singles.c667 if (!(kvmppc_get_msr(vcpu) & MSR_FP)) { in kvmppc_emulate_paired_single()
672 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_emulate_paired_single()
Dbook3s_hv_rmhandlers.S666 ori r5, r5, MSR_FP
2571 ori r8,r5,MSR_FP
2606 ori r8,r9,MSR_FP
/linux-4.4.14/arch/powerpc/lib/
Dldstfp.S84 ori r7,r6,MSR_FP
111 ori r7,r6,MSR_FP
138 ori r7,r6,MSR_FP
165 ori r7,r6,MSR_FP
Dsstep.c1457 if (!(regs->msr & MSR_FP)) in analyse_instr()
1464 if (!(regs->msr & MSR_FP)) in analyse_instr()
1471 if (!(regs->msr & MSR_FP)) in analyse_instr()
1478 if (!(regs->msr & MSR_FP)) in analyse_instr()
1597 if (!(regs->msr & MSR_FP)) in analyse_instr()
1605 if (!(regs->msr & MSR_FP)) in analyse_instr()
1613 if (!(regs->msr & MSR_FP)) in analyse_instr()
1621 if (!(regs->msr & MSR_FP)) in analyse_instr()
/linux-4.4.14/arch/powerpc/include/asm/
Dreg.h87 #define MSR_FP __MASK(MSR_FP_LG) /* Floating Point enable */ macro