Lines Matching refs:fcr31

428 	unsigned int fcr31;  in isBranchInstr()  local
734 fcr31 = read_32bit_cp1_register(CP1_STATUS); in isBranchInstr()
736 fcr31 = current->thread.fpu.fcr31; in isBranchInstr()
745 if (~fcr31 & (1 << bit)) in isBranchInstr()
756 if (fcr31 & (1 << bit)) in isBranchInstr()
851 u32 fcr31 = ctx->fcr31; in cop1_cfc() local
856 value = fcr31; in cop1_cfc()
864 value = (fcr31 >> (FPU_CSR_FS_S - MIPS_FENR_FS_S)) & in cop1_cfc()
866 value |= fcr31 & (FPU_CSR_ALL_E | FPU_CSR_RM); in cop1_cfc()
874 value = fcr31 & (FPU_CSR_ALL_X | FPU_CSR_ALL_S); in cop1_cfc()
882 value = (fcr31 >> (FPU_CSR_COND_S - MIPS_FCCR_COND0_S)) & in cop1_cfc()
884 value |= (fcr31 >> (FPU_CSR_COND1_S - MIPS_FCCR_COND1_S)) & in cop1_cfc()
908 u32 fcr31 = ctx->fcr31; in cop1_ctc() local
924 fcr31 = (value & ~mask) | (fcr31 & mask); in cop1_ctc()
932 fcr31 &= ~(FPU_CSR_FS | FPU_CSR_ALL_E | FPU_CSR_RM); in cop1_ctc()
933 fcr31 |= (value << (FPU_CSR_FS_S - MIPS_FENR_FS_S)) & in cop1_ctc()
935 fcr31 |= value & (FPU_CSR_ALL_E | FPU_CSR_RM); in cop1_ctc()
943 fcr31 &= ~(FPU_CSR_ALL_X | FPU_CSR_ALL_S); in cop1_ctc()
944 fcr31 |= value & (FPU_CSR_ALL_X | FPU_CSR_ALL_S); in cop1_ctc()
952 fcr31 &= ~(FPU_CSR_CONDX | FPU_CSR_COND); in cop1_ctc()
953 fcr31 |= (value << (FPU_CSR_COND_S - MIPS_FCCR_COND0_S)) & in cop1_ctc()
955 fcr31 |= (value << (FPU_CSR_COND1_S - MIPS_FCCR_COND1_S)) & in cop1_ctc()
963 ctx->fcr31 = fcr31; in cop1_ctc()
1179 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in cop1Emulate()
1213 cond = ctx->fcr31 & cbit; in cop1Emulate()
1375 if (((ctx->fcr31 & cond) != 0) == ((MIPSInst_RT(ir) & 1) != 0)) in cop1Emulate()
1566 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpux_emu()
1567 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in fpux_emu()
1761 if (((ctx->fcr31 & cond) != 0) != in fpu_emu()
2134 if (((ctx->fcr31 & cond) != 0) != in fpu_emu()
2764 ctx->fcr31 = (ctx->fcr31 & ~FPU_CSR_ALL_X) | rcsr; in fpu_emu()
2765 if ((ctx->fcr31 >> 5) & ctx->fcr31 & FPU_CSR_ALL_E) { in fpu_emu()
2781 ctx->fcr31 |= cbit; in fpu_emu()
2783 ctx->fcr31 &= ~cbit; in fpu_emu()