Searched refs:mips_exception_flags (Results 1 – 8 of 8) sorted by relevance
219 int mips_exception_flags = 0; in update_fcr31() local222 mips_exception_flags = ieee_to_mips_xcpt(ieee_exception_flags); in update_fcr31()225 SET_FP_CAUSE(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()227 if (mips_exception_flags) { in update_fcr31()230 if (GET_FP_ENABLE(env->active_fpu.fcr31) & mips_exception_flags) { in update_fcr31()233 UPDATE_FP_FLAGS(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
6213 int mips_exception_flags = 0; in update_msacsr() local6233 mips_exception_flags &= ~FP_INEXACT; in update_msacsr()6235 mips_exception_flags |= FP_INEXACT; in update_msacsr()6242 mips_exception_flags |= FP_INEXACT; in update_msacsr()6244 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()6246 mips_exception_flags |= FP_UNDERFLOW; in update_msacsr()6251 if ((mips_exception_flags & FP_OVERFLOW) != 0 && in update_msacsr()6253 mips_exception_flags |= FP_INEXACT; in update_msacsr()6260 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()6269 mips_exception_flags = FP_INEXACT; in update_msacsr()[all …]
208 int mips_exception_flags = 0; in update_fcr31() local211 mips_exception_flags = ieee_to_mips_xcpt(ieee_exception_flags); in update_fcr31()214 SET_FP_CAUSE(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()216 if (mips_exception_flags) { in update_fcr31()219 if (GET_FP_ENABLE(env->active_fpu.fcr31) & mips_exception_flags) { in update_fcr31()222 UPDATE_FP_FLAGS(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
6216 int mips_exception_flags = 0; in update_msacsr() local6236 mips_exception_flags &= ~FP_INEXACT; in update_msacsr()6238 mips_exception_flags |= FP_INEXACT; in update_msacsr()6245 mips_exception_flags |= FP_INEXACT; in update_msacsr()6247 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()6249 mips_exception_flags |= FP_UNDERFLOW; in update_msacsr()6254 if ((mips_exception_flags & FP_OVERFLOW) != 0 && in update_msacsr()6256 mips_exception_flags |= FP_INEXACT; in update_msacsr()6263 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()6272 mips_exception_flags = FP_INEXACT; in update_msacsr()[all …]
216 int mips_exception_flags = 0; in update_fcr31() local219 mips_exception_flags = ieee_to_mips_xcpt(ieee_exception_flags); in update_fcr31()222 SET_FP_CAUSE(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()224 if (mips_exception_flags) { in update_fcr31()227 if (GET_FP_ENABLE(env->active_fpu.fcr31) & mips_exception_flags) { in update_fcr31()230 UPDATE_FP_FLAGS(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()