Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/kernel/
Dcpu-probe.c79 unsigned long sr, mask, fcsr, fcsr0, fcsr1; in cpu_set_fpu_fcsr_mask() local
91 fcsr1 = fcsr | ~mask; in cpu_set_fpu_fcsr_mask()
92 write_32bit_cp1_register(CP1_STATUS, fcsr1); in cpu_set_fpu_fcsr_mask()
93 fcsr1 = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_fcsr_mask()
99 c->fpu_msk31 = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
111 unsigned long sr, fir, fcsr, fcsr0, fcsr1; in cpu_set_fpu_2008() local
124 fcsr1 = fcsr | FPU_CSR_ABS2008 | FPU_CSR_NAN2008; in cpu_set_fpu_2008()
125 write_32bit_cp1_register(CP1_STATUS, fcsr1); in cpu_set_fpu_2008()
126 fcsr1 = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_2008()
132 if (fcsr1 & FPU_CSR_NAN2008) in cpu_set_fpu_2008()
[all …]