Searched refs:fcsr0 (Results 1 – 7 of 7) sorted by relevance
/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 59 fcsr0 = fcsr & mask; in cpu_set_fpu_fcsr_mask() 60 write_32bit_cp1_register(CP1_STATUS, fcsr0); in cpu_set_fpu_fcsr_mask() 61 fcsr0 = 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 98 fcsr0 = fcsr & ~(FPU_CSR_ABS2008 | FPU_CSR_NAN2008 | in cpu_set_fpu_2008() 100 write_32bit_cp1_register(CP1_STATUS, fcsr0); in cpu_set_fpu_2008() 101 fcsr0 = read_32bit_cp1_register(CP1_STATUS); in cpu_set_fpu_2008() 115 if (fcsr0 & FPU_CSR_MAC2008) in cpu_set_fpu_2008() [all …]
|
/linux/arch/loongarch/include/asm/ |
H A D | fpregdef.h | 48 #define fcsr0 $r0 macro 53 #define fcsr0 $fcsr0 macro
|
H A D | asmmacro.h | 43 movfcsr2gr \tmp, fcsr0 60 movgr2fcsr fcsr0, \tmp0
|
H A D | loongarch.h | 1407 #define LOONGARCH_FCSR0 $fcsr0
|
/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 40 fcsr0 = fcsr & mask; in cpu_set_fpu_fcsr_mask() 41 write_fcsr(LOONGARCH_FCSR0, fcsr0); in cpu_set_fpu_fcsr_mask() 42 fcsr0 = read_fcsr(LOONGARCH_FCSR0); in cpu_set_fpu_fcsr_mask() 52 c->fpu_mask = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
|
H A D | genex.S | 63 movfcsr2gr a1, fcsr0
|
H A D | fpu.S | 140 movfcsr2gr \tmp0, fcsr0 153 movgr2fcsr fcsr0, \tmp0 409 movgr2fcsr fcsr0, a0
|