Lines Matching refs:fcsr
51 unsigned long sr, mask, fcsr, fcsr0, fcsr1; in cpu_set_fpu_fcsr_mask() local
53 fcsr = c->fpu_csr31; in cpu_set_fpu_fcsr_mask()
59 fcsr0 = fcsr & mask; in cpu_set_fpu_fcsr_mask()
63 fcsr1 = fcsr | ~mask; in cpu_set_fpu_fcsr_mask()
67 write_32bit_cp1_register(CP1_STATUS, fcsr); in cpu_set_fpu_fcsr_mask()
84 unsigned long sr, fir, fcsr, fcsr0, fcsr1; in cpu_set_fpu_2008() local
91 fcsr = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_2008()
98 fcsr0 = fcsr & ~(FPU_CSR_ABS2008 | FPU_CSR_NAN2008 | in cpu_set_fpu_2008()
103 fcsr1 = fcsr | FPU_CSR_ABS2008 | FPU_CSR_NAN2008; in cpu_set_fpu_2008()
107 write_32bit_cp1_register(CP1_STATUS, fcsr); in cpu_set_fpu_2008()
127 c->fpu_csr31 |= fcsr & FPU_CSR_ABS2008; in cpu_set_fpu_2008()
132 c->fpu_csr31 |= fcsr & FPU_CSR_NAN2008; in cpu_set_fpu_2008()