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.c206 int mips_exception_flags = 0; in update_fcr31() local
209 mips_exception_flags = ieee_to_mips_xcpt(ieee_exception_flags); in update_fcr31()
212 SET_FP_CAUSE(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
214 if (mips_exception_flags) { in update_fcr31()
217 if (GET_FP_ENABLE(env->active_fpu.fcr31) & mips_exception_flags) { in update_fcr31()
220 UPDATE_FP_FLAGS(env->active_fpu.fcr31, mips_exception_flags); in update_fcr31()
H A Dmsa_helper.c6218 int mips_exception_flags = 0; in update_msacsr() local
6230 mips_exception_flags = ieee_to_mips_xcpt_msa(ieee_exception_flags); in update_msacsr()
6238 mips_exception_flags &= ~FP_INEXACT; in update_msacsr()
6240 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6247 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6249 mips_exception_flags &= ~FP_UNDERFLOW; in update_msacsr()
6251 mips_exception_flags |= FP_UNDERFLOW; in update_msacsr()
6256 if ((mips_exception_flags & FP_OVERFLOW) != 0 && in update_msacsr()
6258 mips_exception_flags |= FP_INEXACT; in update_msacsr()
6262 if ((mips_exception_flags & FP_UNDERFLOW) != 0 && in update_msacsr()
[all …]