/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/include/asm/ |
H A D | switch_to.h | 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 93 if (unlikely(fcr31)) { \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ 96 force_fcr31_sig(fcr31, pc, next); \
|
H A D | fpu_emulator.h | 171 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, 174 unsigned long fcr31); 180 static inline unsigned long mask_fcr31_x(unsigned long fcr31) in mask_fcr31_x() argument 182 return fcr31 & (FPU_CSR_UNI_X | in mask_fcr31_x() 183 ((fcr31 & FPU_CSR_ALL_E) << in mask_fcr31_x()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/include/asm/ |
H A D | switch_to.h | 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 93 if (unlikely(fcr31)) { \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ 96 force_fcr31_sig(fcr31, pc, next); \
|
H A D | fpu_emulator.h | 171 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, 174 unsigned long fcr31); 180 static inline unsigned long mask_fcr31_x(unsigned long fcr31) in mask_fcr31_x() argument 182 return fcr31 & (FPU_CSR_UNI_X | in mask_fcr31_x() 183 ((fcr31 & FPU_CSR_ALL_E) << in mask_fcr31_x()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/include/asm/ |
H A D | switch_to.h | 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 93 if (unlikely(fcr31)) { \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ 96 force_fcr31_sig(fcr31, pc, next); \
|
H A D | fpu_emulator.h | 171 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, 174 unsigned long fcr31); 180 static inline unsigned long mask_fcr31_x(unsigned long fcr31) in mask_fcr31_x() argument 182 return fcr31 & (FPU_CSR_UNI_X | in mask_fcr31_x() 183 ((fcr31 & FPU_CSR_ALL_E) << in mask_fcr31_x()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/kernel/ |
H A D | traps.c | 823 unsigned long fcr31; in simulate_fp() local 855 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp() 856 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp() 882 write_32bit_cp1_register(CP1_STATUS, fcr31 & ~mask_fcr31_x(fcr31)); in do_fpe() 907 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_fpe() 908 current->thread.fpu.fcr31 &= ~fcr31; in do_fpe() 1163 unsigned long fcr31 = 0; in do_ri() local 1175 fcr31); in do_ri() 1464 unsigned long fcr31; in do_cpu() local 1479 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_cpu() [all …]
|
H A D | branch.c | 145 unsigned int fcr31; in __mm_isBranchInstr() local 154 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __mm_isBranchInstr() 156 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr() 160 fcr31 = ~fcr31; in __mm_isBranchInstr() 165 if (fcr31 & (1 << bit)) in __mm_isBranchInstr() 688 unsigned int bit, fcr31, reg; in __compute_return_epc_for_insn() local 712 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __compute_return_epc_for_insn() 714 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn() 723 if (~fcr31 & (1 << bit)) { in __compute_return_epc_for_insn() 735 if (fcr31 & (1 << bit)) { in __compute_return_epc_for_insn()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/kernel/ |
H A D | traps.c | 823 unsigned long fcr31; in simulate_fp() local 855 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp() 856 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp() 882 write_32bit_cp1_register(CP1_STATUS, fcr31 & ~mask_fcr31_x(fcr31)); in do_fpe() 907 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_fpe() 908 current->thread.fpu.fcr31 &= ~fcr31; in do_fpe() 1163 unsigned long fcr31 = 0; in do_ri() local 1175 fcr31); in do_ri() 1464 unsigned long fcr31; in do_cpu() local 1479 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_cpu() [all …]
|
H A D | branch.c | 145 unsigned int fcr31; in __mm_isBranchInstr() local 154 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __mm_isBranchInstr() 156 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr() 160 fcr31 = ~fcr31; in __mm_isBranchInstr() 165 if (fcr31 & (1 << bit)) in __mm_isBranchInstr() 688 unsigned int bit, fcr31, reg; in __compute_return_epc_for_insn() local 712 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __compute_return_epc_for_insn() 714 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn() 723 if (~fcr31 & (1 << bit)) { in __compute_return_epc_for_insn() 735 if (fcr31 & (1 << bit)) { in __compute_return_epc_for_insn()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/kernel/ |
H A D | traps.c | 823 unsigned long fcr31; in simulate_fp() local 855 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp() 856 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp() 882 write_32bit_cp1_register(CP1_STATUS, fcr31 & ~mask_fcr31_x(fcr31)); in do_fpe() 907 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_fpe() 908 current->thread.fpu.fcr31 &= ~fcr31; in do_fpe() 1163 unsigned long fcr31 = 0; in do_ri() local 1175 fcr31); in do_ri() 1464 unsigned long fcr31; in do_cpu() local 1479 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in do_cpu() [all …]
|
H A D | branch.c | 145 unsigned int fcr31; in __mm_isBranchInstr() local 154 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __mm_isBranchInstr() 156 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr() 160 fcr31 = ~fcr31; in __mm_isBranchInstr() 165 if (fcr31 & (1 << bit)) in __mm_isBranchInstr() 688 unsigned int bit, fcr31, reg; in __compute_return_epc_for_insn() local 712 fcr31 = read_32bit_cp1_register(CP1_STATUS); in __compute_return_epc_for_insn() 714 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn() 723 if (~fcr31 & (1 << bit)) { in __compute_return_epc_for_insn() 735 if (fcr31 & (1 << bit)) { in __compute_return_epc_for_insn()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/math-emu/ |
H A D | cp1emu.c | 736 fcr31 = current->thread.fpu.fcr31; in isBranchInstr() 851 u32 fcr31 = ctx->fcr31; in cop1_cfc() local 856 value = fcr31; in cop1_cfc() 908 u32 fcr31 = ctx->fcr31; in cop1_ctc() local 924 fcr31 = (value & ~mask) | (fcr31 & mask); in cop1_ctc() 963 ctx->fcr31 = fcr31; in cop1_ctc() 1179 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in cop1Emulate() 1566 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpux_emu() 1567 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in fpux_emu() 2764 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpu_emu() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/math-emu/ |
H A D | cp1emu.c | 736 fcr31 = current->thread.fpu.fcr31; in isBranchInstr() 851 u32 fcr31 = ctx->fcr31; in cop1_cfc() local 856 value = fcr31; in cop1_cfc() 908 u32 fcr31 = ctx->fcr31; in cop1_ctc() local 924 fcr31 = (value & ~mask) | (fcr31 & mask); in cop1_ctc() 963 ctx->fcr31 = fcr31; in cop1_ctc() 1179 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in cop1Emulate() 1566 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpux_emu() 1567 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in fpux_emu() 2764 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpu_emu() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/math-emu/ |
H A D | cp1emu.c | 736 fcr31 = current->thread.fpu.fcr31; in isBranchInstr() 851 u32 fcr31 = ctx->fcr31; in cop1_cfc() local 856 value = fcr31; in cop1_cfc() 908 u32 fcr31 = ctx->fcr31; in cop1_ctc() local 924 fcr31 = (value & ~mask) | (fcr31 & mask); in cop1_ctc() 963 ctx->fcr31 = fcr31; in cop1_ctc() 1179 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in cop1Emulate() 1566 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpux_emu() 1567 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in fpux_emu() 2764 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpu_emu() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/linux-user/mips/ |
H A D | cpu_loop.c | 187 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 189 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 191 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 193 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 195 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 404 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 411 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 413 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu60/qemu-6.0.0/linux-user/mips/ |
H A D | cpu_loop.c | 196 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 198 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 200 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 202 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 204 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 413 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 420 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 422 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu5/qemu-5.2.0/linux-user/mips/ |
H A D | cpu_loop.c | 195 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 197 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 199 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 201 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 203 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 414 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 421 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 423 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/linux-user/mips/ |
H A D | cpu_loop.c | 191 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 193 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 195 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 197 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 199 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 410 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 417 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 419 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/linux-user/mips/ |
H A D | cpu_loop.c | 198 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 200 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 202 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 204 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 206 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 415 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 422 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 424 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/linux-user/mips/ |
H A D | cpu_loop.c | 191 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop() 193 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop() 195 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop() 197 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop() 199 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop() 410 ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { in target_cpu_copy_regs() 417 env->active_fpu.fcr31 |= (1 << FCR31_NAN2008); in target_cpu_copy_regs() 419 env->active_fpu.fcr31 &= ~(1 << FCR31_NAN2008); in target_cpu_copy_regs()
|
/dports/emulators/qemu60/qemu-6.0.0/target/mips/ |
H A D | fpu_helper.h | 18 set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], in restore_rounding_mode() 24 set_flush_to_zero((env->active_fpu.fcr31 & (1 << FCR31_FS)) != 0, in restore_flush_mode() 30 set_snan_bit_is_one((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) == 0, in restore_snan_bit_mode()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/mips/ |
H A D | fpu_helper.h | 18 set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], in restore_rounding_mode() 24 set_flush_to_zero((env->active_fpu.fcr31 & (1 << FCR31_FS)) != 0, in restore_flush_mode() 30 bool nan2008 = env->active_fpu.fcr31 & (1 << FCR31_NAN2008); in restore_snan_bit_mode()
|
/dports/emulators/qemu/qemu-6.2.0/target/mips/ |
H A D | fpu_helper.h | 18 set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], in restore_rounding_mode() 24 set_flush_to_zero((env->active_fpu.fcr31 & (1 << FCR31_FS)) != 0, in restore_flush_mode() 30 bool nan2008 = env->active_fpu.fcr31 & (1 << FCR31_NAN2008); in restore_snan_bit_mode()
|
/dports/emulators/qemu-utils/qemu-4.2.1/target/mips/ |
H A D | gdbstub.c | 36 return gdb_get_regl(mem_buf, (int32_t)env->active_fpu.fcr31); in mips_cpu_gdb_read_register() 93 env->active_fpu.fcr31 = (tmp & env->active_fpu.fcr31_rw_bitmask) | in mips_cpu_gdb_write_register() 94 (env->active_fpu.fcr31 & ~(env->active_fpu.fcr31_rw_bitmask)); in mips_cpu_gdb_write_register()
|