Home
last modified time | relevance | path

Searched refs:GET_FP_CAUSE (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/linux-user/loongarch64/
H A Dcpu_loop.c55 if (GET_FP_CAUSE(env->fcsr0) & FP_INVALID) { in cpu_loop()
57 } else if (GET_FP_CAUSE(env->fcsr0) & FP_DIV0) { in cpu_loop()
59 } else if (GET_FP_CAUSE(env->fcsr0) & FP_OVERFLOW) { in cpu_loop()
61 } else if (GET_FP_CAUSE(env->fcsr0) & FP_UNDERFLOW) { in cpu_loop()
63 } else if (GET_FP_CAUSE(env->fcsr0) & FP_INEXACT) { in cpu_loop()
/openbmc/qemu/linux-user/mips/
H A Dcpu_loop.c170 if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INVALID) { in cpu_loop()
172 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_DIV0) { in cpu_loop()
174 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_OVERFLOW) { in cpu_loop()
176 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_UNDERFLOW) { in cpu_loop()
178 } else if (GET_FP_CAUSE(env->active_fpu.fcr31) & FP_INEXACT) { in cpu_loop()
/openbmc/qemu/target/loongarch/
H A Dcpu.h53 #define GET_FP_CAUSE(REG) FIELD_EX32(REG, FCSR0, CAUSE) macro
/openbmc/qemu/target/mips/
H A Dcpu.h80 #define GET_FP_CAUSE(reg) (((reg) >> 12) & 0x3f) macro
/openbmc/qemu/target/mips/tcg/
H A Dfpu_helper.c175 GET_FP_CAUSE(env->active_fpu.fcr31)) { in helper_ctc1()
H A Dmsa_helper.c6108 & GET_FP_CAUSE(env->active_tc.msacsr)) { in helper_msa_ctcmsa()
6176 if ((GET_FP_CAUSE(env->active_tc.msacsr) & in check_msacsr_cause()
6179 GET_FP_CAUSE(env->active_tc.msacsr)); in check_msacsr_cause()
6284 (GET_FP_CAUSE(env->active_tc.msacsr) | mips_exception_flags)); in update_msacsr()
6293 (GET_FP_CAUSE(env->active_tc.msacsr) | mips_exception_flags)); in update_msacsr()