|
From: | Richard Henderson |
Subject: | Re: [PATCH 0/2] Floating-point OE/UE exception bug |
Date: | Fri, 5 Aug 2022 10:06:36 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/5/22 07:15, Lucas Mateus Castro(alqotel) wrote:
Currently there's no test in this patch series as there's no way to disable MSR.FE0 and MSR.FE1 in linux user, so any overflow/underflow exception with OE/UE set causes a trapping exception.
You could check the value in the fp register in the signal handler. The exception is supposed to occur after the register writeback.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |