Home
last modified time | relevance | path

Searched refs:fcr31 (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/arch/mips/include/asm/
Dfpu.h173 current->thread.fpu.fcr31 = in lose_fpu()
191 unsigned int fcr31 = current->thread.fpu.fcr31; in init_fpu() local
202 _init_fpu(fcr31); in init_fpu()
216 _init_fpu(fcr31); in init_fpu()
Dmips-r2-to-r6-emul.h88 unsigned long *fcr31) in mipsr2_decoder() argument
96 unsigned long *fcr31);
Dfpregdef.h70 #define fcr31 $31 /* FPU status register */ macro
109 #define fcr31 $31 macro
Dasmmacro-32.h18 cfc1 \tmp, fcr31
59 ctc1 \tmp, fcr31
Dprocessor.h134 unsigned int fcr31; member
320 .fcr31 = 0, \
Dfpu_emulator.h70 unsigned long fcr31);
Delf.h307 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
369 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
Dasmmacro.h62 cfc1 \tmp, fcr31
137 ctc1 \tmp, fcr31
/linux-4.1.27/arch/mips/math-emu/
Dcp1emu.c441 unsigned int fcr31; in isBranchInstr() local
737 fcr31 = read_32bit_cp1_register(CP1_STATUS); in isBranchInstr()
739 fcr31 = current->thread.fpu.fcr31; in isBranchInstr()
748 if (~fcr31 & (1 << bit)) in isBranchInstr()
759 if (fcr31 & (1 << bit)) in isBranchInstr()
854 u32 fcr31 = ctx->fcr31; in cop1_cfc() local
859 value = fcr31; in cop1_cfc()
867 value = (fcr31 >> (FPU_CSR_FS_S - MIPS_FENR_FS_S)) & in cop1_cfc()
869 value |= fcr31 & (FPU_CSR_ALL_E | FPU_CSR_RM); in cop1_cfc()
877 value = fcr31 & (FPU_CSR_ALL_X | FPU_CSR_ALL_S); in cop1_cfc()
[all …]
Dieee754.h145 #define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.fcr31))
/linux-4.1.27/arch/mips/kernel/
Dtraps.c709 int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) in process_fpemu_return() argument
724 fcr31 &= (fcr31 & FPU_CSR_ALL_E) << in process_fpemu_return()
726 if (fcr31 & FPU_CSR_INV_X) in process_fpemu_return()
728 else if (fcr31 & FPU_CSR_DIV_X) in process_fpemu_return()
730 else if (fcr31 & FPU_CSR_OVF_X) in process_fpemu_return()
732 else if (fcr31 & FPU_CSR_UDF_X) in process_fpemu_return()
734 else if (fcr31 & FPU_CSR_INE_X) in process_fpemu_return()
771 unsigned long fcr31; in simulate_fp() local
801 fcr31 = current->thread.fpu.fcr31; in simulate_fp()
807 current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X; in simulate_fp()
[all …]
Dbranch.c62 unsigned int fcr31; in __mm_isBranchInstr() local
150 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __mm_isBranchInstr()
152 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr()
156 fcr31 = ~fcr31; in __mm_isBranchInstr()
161 if (fcr31 & (1 << bit)) in __mm_isBranchInstr()
419 unsigned int bit, fcr31, dspcontrol, reg; in __compute_return_epc_for_insn() local
719 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __compute_return_epc_for_insn()
721 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn()
730 if (~fcr31 & (1 << bit)) { in __compute_return_epc_for_insn()
742 if (fcr31 & (1 << bit)) { in __compute_return_epc_for_insn()
Dptrace32.c128 tmp = child->thread.fpu.fcr31; in compat_arch_ptrace()
204 child->thread.fpu.fcr31 = 0; in compat_arch_ptrace()
229 child->thread.fpu.fcr31 = data; in compat_arch_ptrace()
Dr6000_fpu.S31 cfc1 t1,fcr31
87 ctc1 t0,fcr31
Dptrace.c87 u32 fcr31; in ptrace_setfcr31() local
91 fcr31 = child->thread.fpu.fcr31; in ptrace_setfcr31()
93 child->thread.fpu.fcr31 = (value & ~mask) | (fcr31 & mask); in ptrace_setfcr31()
166 __put_user(child->thread.fpu.fcr31, data + 64); in ptrace_getfpregs()
650 tmp = child->thread.fpu.fcr31; in arch_ptrace()
Dr4k_fpu.S41 cfc1 t1, fcr31
107 cfc1 t1, fcr31
217 ctc1 t1, fcr31
270 ctc1 t1, fcr31
Dr2300_fpu.S34 cfc1 t1,fcr31
123 ctc1 t0,fcr31
Dr4k_switch.S73 cfc1 t1, fcr31
181 ctc1 a0, fcr31
Dkgdb.c146 memcpy((void *)&current->thread.fpu.fcr31, mem, in dbg_set_reg()
181 memcpy(mem, (void *)&current->thread.fpu.fcr31, in dbg_get_reg()
Dr2300_switch.S130 ctc1 a0, fcr31
Dmips-r2-to-r6-emul.c202 csr = current->thread.fpu.fcr31; in movf_func()
225 csr = current->thread.fpu.fcr31; in movt_func()
904 int mipsr2_decoder(struct pt_regs *regs, u32 inst, unsigned long *fcr31) in mipsr2_decoder() argument
1173 *fcr31 = current->thread.fpu.fcr31; in mipsr2_decoder()
1179 current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X; in mipsr2_decoder()
Dsignal.c78 err |= __put_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_to_sigcontext()
93 err |= __get_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_from_sigcontext()
Dsignal32.c92 err |= __put_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_to_sigcontext32()
108 err |= __get_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_from_sigcontext32()
Dasm-offsets.c169 OFFSET(THREAD_FCR31, task_struct, thread.fpu.fcr31); in output_thread_fpu_defines()
441 OFFSET(VCPU_FCR31, kvm_vcpu_arch, fpu.fcr31); in output_kvm_defines()
Dgenex.S362 cfc1 a1, fcr31
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dcop2-ex.c46 _init_fpu(current->thread.fpu.fcr31); in loongson_cu2_call()
/linux-4.1.27/arch/mips/kvm/
Dfpu.S118 ctc1 t0, fcr31
Dlocore.S370 cfc1 t0, fcr31
372 ctc1 zero,fcr31
Dmips.c583 v = fpu->fcr31; in kvm_mips_get_reg()
784 fpu->fcr31 = v; in kvm_mips_set_reg()