Searched refs:CSR_EUEN_FPEN (Results 1 – 7 of 7) sorted by relevance
63 return (csr_read32(LOONGARCH_CSR_EUEN) & CSR_EUEN_FPEN) ? in is_fp_enabled()90 #define enable_fpu() set_csr_euen(CSR_EUEN_FPEN)92 #define disable_fpu() clear_csr_euen(CSR_EUEN_FPEN)105 KSTK_EUEN(current) |= CSR_EUEN_FPEN; in __own_fpu()145 KSTK_EUEN(tsk) &= ~(CSR_EUEN_FPEN | CSR_EUEN_LSXEN | CSR_EUEN_LASXEN); in lose_fpu_inatomic()195 if (euen & CSR_EUEN_FPEN) in save_fpu_regs()
222 #define CSR_EUEN_FPEN (_ULCAST_(0x1) << CSR_EUEN_FPEN_SHIFT) macro
11 static unsigned int euen_mask = CSR_EUEN_FPEN;44 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_begin()69 if (*euen_curr & CSR_EUEN_FPEN) in kernel_fpu_end()
126 if (!(regs->csr_euen & CSR_EUEN_FPEN)) in dbg_get_reg()169 if (!(regs->csr_euen & CSR_EUEN_FPEN)) in dbg_set_reg()
84 euen = regs->csr_euen & ~(CSR_EUEN_FPEN); in start_thread()
213 print_bool_fragment("FPE", FIELD_GET(CSR_EUEN_FPEN, x), true); in print_euen()
403 li.w t1, CSR_EUEN_FPEN