Searched refs:fcsr1 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/mips/kernel/ |
H A D | fpu-probe.c | 51 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 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() 124 if ((fcsr0 ^ fcsr1) & FPU_CSR_ABS2008) in cpu_set_fpu_2008() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | fpregdef.h | 49 #define fcsr1 $r1 macro 54 #define fcsr1 $fcsr1 macro
|
H A D | loongarch.h | 1372 #define LOONGARCH_FCSR1 $fcsr1
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | cpu-probe.c | 32 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()
|