Searched refs:msacsr (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/target/mips/ |
H A D | fpu_helper.h | 81 int rounding_mode = (env->active_tc.msacsr & MSACSR_RM_MASK) >> MSACSR_RM; in restore_msa_fp_status() 82 bool flush_to_zero = (env->active_tc.msacsr & MSACSR_FS_MASK) != 0; in restore_msa_fp_status()
|
H A D | msa.c | 44 env->active_tc.msacsr = 0; in msa_reset()
|
H A D | kvm.c | 646 &env->active_tc.msacsr); in kvm_mips_put_fpu_registers() 723 &env->active_tc.msacsr); in kvm_mips_get_fpu_registers()
|
H A D | cpu.h | 501 int32_t msacsr; member
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | processor.h | 126 unsigned int msacsr; member 289 .msacsr = 0, \
|
/openbmc/linux/arch/mips/kernel/ |
H A D | ptrace.c | 599 unsigned int msacsr; member 631 .msacsr = target->thread.fpu.msacsr, in msa_get() 687 target->thread.fpu.msacsr = ctrl_regs.msacsr & ~MSA_CSR_CAUSEF; in msa_set()
|
H A D | asm-offsets.c | 180 OFFSET(THREAD_MSA_CSR, task_struct, thread.fpu.msacsr); in output_thread_fpu_defines() 396 OFFSET(VCPU_MSA_CSR, kvm_vcpu_arch, fpu.msacsr); in output_kvm_defines()
|
H A D | traps.c | 1293 write_msa_csr(current->thread.fpu.msacsr); in enable_restore_fp_context() 1347 write_msa_csr(current->thread.fpu.msacsr); in enable_restore_fp_context() 1507 asmlinkage void do_msa_fpe(struct pt_regs *regs, unsigned int msacsr) in do_msa_fpe() argument 1518 write_msa_csr(msacsr & ~MSA_CSR_CAUSEF); in do_msa_fpe()
|
H A D | signal.c | 194 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext() 240 current->thread.fpu.msacsr = csr; in restore_msa_extcontext()
|
/openbmc/qemu/target/mips/sysemu/ |
H A D | machine.c | 100 VMSTATE_INT32(msacsr, TCState),
|
/openbmc/linux/arch/mips/kvm/ |
H A D | mips.c | 733 v = fpu->msacsr; in kvm_mips_get_reg() 864 fpu->msacsr = v; in kvm_mips_set_reg()
|
H A D | entry.c | 680 uasm_i_sw(&p, T0, offsetof(struct kvm_vcpu_arch, fpu.msacsr), in kvm_mips_build_exit()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | msa_helper.c | 6104 env->active_tc.msacsr = (int32_t)elm & MSACSR_MASK; in helper_msa_ctcmsa() 6107 if ((GET_FP_ENABLE(env->active_tc.msacsr) | FP_UNIMPLEMENTED) in helper_msa_ctcmsa() 6108 & GET_FP_CAUSE(env->active_tc.msacsr)) { in helper_msa_ctcmsa() 6121 return env->active_tc.msacsr & MSACSR_MASK; in helper_msa_cfcmsa() 6171 SET_FP_CAUSE(env->active_tc.msacsr, 0); in clear_msacsr_cause() 6176 if ((GET_FP_CAUSE(env->active_tc.msacsr) & in check_msacsr_cause() 6177 (GET_FP_ENABLE(env->active_tc.msacsr) | FP_UNIMPLEMENTED)) == 0) { in check_msacsr_cause() 6178 UPDATE_FP_FLAGS(env->active_tc.msacsr, in check_msacsr_cause() 6179 GET_FP_CAUSE(env->active_tc.msacsr)); in check_msacsr_cause() 6231 enable = GET_FP_ENABLE(env->active_tc.msacsr) | FP_UNIMPLEMENTED; in update_msacsr() [all …]
|