Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/powerpc/kernel/
H A Dprocess.c169 msr_check_and_set(MSR_FP); in giveup_fpu()
171 msr_check_and_clear(MSR_FP); in giveup_fpu()
313 if (msr & MSR_FP) in __giveup_vsx()
441 if (usermsr & MSR_FP) in giveup_all()
530 new_msr |= MSR_FP; in restore_math()
536 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
545 if (new_msr & MSR_FP) { in restore_math()
581 if (usermsr & MSR_FP) in save_all()
1139 if (msr_diff & MSR_FP) in restore_tm_state()
1202 if (usermsr & MSR_FP) in kvmppc_save_user_regs()
[all …]
H A Dfpu.S98 ori r5,r5,MSR_FP|MSR_RI
100 ori r5,r5,MSR_FP
113 ori r9,r9,MSR_FP /* enable FP for current */
119 ori r12,r12,MSR_FP
H A Dsignal_64.c237 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
285 if (msr & MSR_FP) in setup_tm_sigcontexts()
387 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in __unsafe_restore_sigcontext()
506 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1 | MSR_VEC | MSR_VSX)); in restore_tm_sigcontexts()
599 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_sigcontexts()
600 if (msr & MSR_FP) { in restore_tm_sigcontexts()
602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode)); in restore_tm_sigcontexts()
H A Dsignal_32.c418 if (msr & MSR_FP) in save_tm_user_regs_unsafe()
536 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_user_regs()
617 regs_set_return_msr(regs, regs->msr & ~(MSR_FP | MSR_FE0 | MSR_FE1)); in restore_tm_user_regs()
700 msr_check_and_set(msr & (MSR_FP | MSR_VEC)); in restore_tm_user_regs()
701 if (msr & MSR_FP) { in restore_tm_user_regs()
703 regs_set_return_msr(regs, regs->msr | (MSR_FP | current->thread.fpexc_mode)); in restore_tm_user_regs()
H A Dvector.S131 andi. r5,r12,MSR_FP
204 ori r11,r10,MSR_FP
H A Dtm.S135 ori r15, r15, MSR_FP
387 ori r5, r5, MSR_FP
H A Dinterrupt.c208 unsigned long mathflags = MSR_FP; in interrupt_exit_user_prepare_main()
H A Dcpu_setup_6xx.S310 ori r11,r10,MSR_FP
/openbmc/linux/arch/powerpc/lib/
H A Dldstfp.S23 ori r7, r6, MSR_FP
47 ori r7, r6, MSR_FP
213 ori r7, r6, MSR_FP
228 ori r7, r6, MSR_FP
H A Dsstep.c611 if (regs->msr & MSR_FP) in do_fp_load()
618 if (regs->msr & MSR_FP) in do_fp_load()
647 if (regs->msr & MSR_FP) in do_fp_store()
659 if (regs->msr & MSR_FP) in do_fp_store()
979 if (regs->msr & MSR_FP) { in do_vsx_load()
1025 if (regs->msr & MSR_FP) { in do_vsx_store()
3440 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore()
3511 if (!(regs->msr & MSR_PR) && !(regs->msr & MSR_FP)) in emulate_loadstore()
/openbmc/linux/arch/powerpc/include/asm/
H A Dswitch_to.h46 msr_check_and_clear(MSR_FP); in disable_kernel_fp()
81 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); in disable_kernel_vsx()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_pr.c368 (MSR_FP | MSR_VEC | MSR_VSX); in kvmppc_handle_lost_math_exts()
373 if (ext_diff == MSR_FP) in kvmppc_handle_lost_math_exts()
547 if (kvmppc_get_msr(vcpu) & MSR_FP) in kvmppc_set_msr_pr()
813 msr |= MSR_FP | MSR_VEC; in kvmppc_giveup_ext()
823 if (msr & MSR_FP) { in kvmppc_giveup_ext()
829 if (t->regs->msr & MSR_FP) in kvmppc_giveup_ext()
894 msr = MSR_FP | MSR_VEC | MSR_VSX; in kvmppc_handle_ext()
906 if (msr & MSR_FP) { in kvmppc_handle_ext()
945 if (lost_ext & MSR_FP) { in kvmppc_handle_lost_ext()
1370 ext_msr = MSR_FP; in kvmppc_handle_exit_pr()
[all …]
H A Demulate_loadstore.c30 if (!(kvmppc_get_msr(vcpu) & MSR_FP)) { in kvmppc_check_fp_disabled()
247 MSR_FP); in kvmppc_emulate_loadstore()
H A Dtm.S44 ori r8, r8, MSR_FP
238 ori r5, r5, MSR_FP
H A Dbooke.c160 if (!(current->thread.regs->msr & MSR_FP)) { in kvmppc_load_guest_fp()
165 current->thread.regs->msr |= MSR_FP; in kvmppc_load_guest_fp()
177 if (current->thread.regs->msr & MSR_FP) in kvmppc_save_guest_fp()
188 vcpu->arch.shadow_msr &= ~MSR_FP; in kvmppc_vcpu_sync_fpu()
189 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_FP; in kvmppc_vcpu_sync_fpu()
H A Dbook3s_paired_singles.c658 if (!(kvmppc_get_msr(vcpu) & MSR_FP)) { in kvmppc_emulate_paired_single()
663 kvmppc_giveup_ext(vcpu, MSR_FP); in kvmppc_emulate_paired_single()
/openbmc/qemu/target/ppc/
H A Dcpu_init.c2177 (1ull << MSR_FP) |
2248 (1ull << MSR_FP) |
2287 (1ull << MSR_FP) |
2339 (1ull << MSR_FP) |
2409 (1ull << MSR_FP) |
2448 (1ull << MSR_FP) |
2490 (1ull << MSR_FP) | in POWERPC_FAMILY()
2532 (1ull << MSR_FP) | in POWERPC_FAMILY()
2588 (1ull << MSR_FP) | in POWERPC_FAMILY()
2628 (1ull << MSR_FP) | in POWERPC_FAMILY()
[all …]
H A Dhelper_regs.c140 QEMU_BUILD_BUG_ON(MSR_FP != HFLAGS_FP); in hreg_compute_hflags_value()
142 (1 << MSR_DR) | (1 << MSR_FP)); in hreg_compute_hflags_value()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dtraps.c62 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dtraps.c68 regs->msr & MSR_PR ? 1 : 0, regs->msr & MSR_FP ? 1 : 0, in show_regs()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dtraps.c59 regs->msr & MSR_FP ? 1 : 0,regs->msr&MSR_ME ? 1 : 0, in show_regs()
H A Dstart.S35 #define MSR_KERNEL (MSR_FP|MSR_RI)
37 #define MSR_KERNEL (MSR_FP|MSR_ME|MSR_RI)
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtraps.c95 regs->msr & MSR_FP ? 1 : 0,regs->msr&MSR_ME ? 1 : 0, in show_regs()
/openbmc/qemu/hw/ppc/
H A Dspapr_cpu_core.c47 env->msr |= (1ULL << MSR_ME) | (1ULL << MSR_FP); in spapr_reset_vcpu()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h29 #define MSR_FP (1<<13) /* Floating Point enable */ macro

12