Home
last modified time | relevance | path

Searched refs:fcsr1 (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/mips/kernel/
Dfpu-probe.c51 unsigned long sr, mask, fcsr, fcsr0, fcsr1; in cpu_set_fpu_fcsr_mask() local
63 fcsr1 = fcsr | ~mask; in cpu_set_fpu_fcsr_mask()
64 write_32bit_cp1_register(CP1_STATUS, fcsr1); in cpu_set_fpu_fcsr_mask()
65 fcsr1 = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_fcsr_mask()
71 c->fpu_msk31 = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
84 unsigned long sr, fir, fcsr, fcsr0, fcsr1; in cpu_set_fpu_2008() local
103 fcsr1 = fcsr | FPU_CSR_ABS2008 | FPU_CSR_NAN2008; in cpu_set_fpu_2008()
104 write_32bit_cp1_register(CP1_STATUS, fcsr1); in cpu_set_fpu_2008()
105 fcsr1 = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_2008()
121 if (fcsr1 & FPU_CSR_NAN2008) in cpu_set_fpu_2008()
[all …]
/linux-6.1.9/arch/loongarch/kernel/
Dcpu-probe.c32 unsigned long sr, mask, fcsr, fcsr0, fcsr1; in cpu_set_fpu_fcsr_mask() local
44 fcsr1 = fcsr | ~mask; in cpu_set_fpu_fcsr_mask()
45 write_fcsr(LOONGARCH_FCSR0, fcsr1); in cpu_set_fpu_fcsr_mask()
46 fcsr1 = read_fcsr(LOONGARCH_FCSR0); in cpu_set_fpu_fcsr_mask()
52 c->fpu_mask = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
/linux-6.1.9/arch/loongarch/include/asm/
Dfpregdef.h48 #define fcsr1 $r1 macro