Home
last modified time | relevance | path

Searched refs:mips_exception_flags (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/mips/tcg/
H A Dfpu_helper.c207 int mips_exception_flags = 0; in update_fcr31() local
210 mips_exception_flags = ieee_to_mips_xcpt(ieee_exception_flags); in update_fcr31()
213 SET_FP_CAUSE(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
215 if (mips_exception_flags) { in update_fcr31()
218 if (GET_FP_ENABLE(env->active_fpu.fcr31) & mips_exception_flags) { in update_fcr31()
221 UPDATE_FP_FLAGS(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
H A Dmsa_helper.c6217 int mips_exception_flags = 0; in update_msacsr() local
6229 mips_exception_flags = ieee_to_mips_xcpt_msa(ieee_exception_flags); in update_msacsr()
6237 mips_exception_flags &= ~FP_INEXACT; in update_msacsr()
6239 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6246 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6248 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()
6250 mips_exception_flags |= FP_UNDERFLOW; in update_msacsr()
6255 if ((mips_exception_flags & FP_OVERFLOW) != 0 && in update_msacsr()
6257 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6261 if ((mips_exception_flags & FP_UNDERFLOW) != 0 && in update_msacsr()
[all …]