qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linux-user: Handle EXCP10_COPR properly for i386


From: Richard Henderson
Subject: Re: [PATCH] linux-user: Handle EXCP10_COPR properly for i386
Date: Mon, 12 Jul 2021 09:56:20 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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

[Prev in Thread] Current Thread [Next in Thread]