On 5/14/21 1:46 AM, Xu Zou wrote:
+        case EXCP10_COPR:
+            si_code = 0;
+            status = env->fp_status.float_exception_flags;
+            if (status & float_flag_invalid) {
+                si_code = TARGET_FPE_FLTINV;
+            }

This isn't correct. You want the set of unmasked exceptions. But target/i386 is not providing those. You need much more than this one patch to fixed unmasked exceptions.


r~

Reply via email to