Home
last modified time | relevance | path

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

/dports/emulators/qemu5/qemu-5.2.0/target/mips/
H A Dfpu_helper.c219 int mips_exception_flags = 0; in update_fcr31() local
222 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()
H A Dmsa_helper.c6213 int mips_exception_flags = 0; in update_msacsr() local
6233 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 …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/mips/tcg/
H A Dfpu_helper.c208 int mips_exception_flags = 0; in update_fcr31() local
211 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()
H A Dmsa_helper.c6216 int mips_exception_flags = 0; in update_msacsr() local
6236 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 …]
/dports/emulators/qemu/qemu-6.2.0/target/mips/tcg/
H A Dfpu_helper.c208 int mips_exception_flags = 0; in update_fcr31() local
211 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()
H A Dmsa_helper.c6216 int mips_exception_flags = 0; in update_msacsr() local
6236 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 …]
/dports/emulators/qemu60/qemu-6.0.0/target/mips/
H A Dfpu_helper.c216 int mips_exception_flags = 0; in update_fcr31() local
219 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()
H A Dmsa_helper.c6216 int mips_exception_flags = 0; in update_msacsr() local
6236 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 …]