Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dfpu-probe.c51 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 Dfpregdef.h48 #define fcsr0 $r0 macro
53 #define fcsr0 $fcsr0 macro
H A Dasmmacro.h43 movfcsr2gr \tmp, fcsr0
60 movgr2fcsr fcsr0, \tmp0
H A Dloongarch.h1407 #define LOONGARCH_FCSR0 $fcsr0
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c32 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 Dgenex.S63 movfcsr2gr a1, fcsr0
H A Dfpu.S140 movfcsr2gr \tmp0, fcsr0
153 movgr2fcsr fcsr0, \tmp0
409 movgr2fcsr fcsr0, a0