Qian Hong : ntdll: Silence useless fixme message when handling SIMD floating point invalid operation exception.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 3 09:56:21 CST 2015


Module: wine
Branch: master
Commit: 10d080aa8dfeea22384df3440b8c05e1d8be61c3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=10d080aa8dfeea22384df3440b8c05e1d8be61c3

Author: Qian Hong <qhong at codeweavers.com>
Date:   Thu Dec  3 00:07:18 2015 +0800

ntdll: Silence useless fixme message when handling SIMD floating point invalid operation exception.

Signed-off-by: Qian Hong <qhong at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/signal_i386.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 5582299..a3abbff 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -2163,7 +2163,7 @@ static void fpe_handler( int signal, siginfo_t *siginfo, void *sigcontext )
         /* TODO:
          * Behaviour only tested for divide-by-zero exceptions
          * Check for other SIMD exceptions as well */
-        if(siginfo->si_code != FPE_FLTDIV)
+        if(siginfo->si_code != FPE_FLTDIV && siginfo->si_code != FPE_FLTINV)
             FIXME("untested SIMD exception: %#x. Might not work correctly\n",
                   siginfo->si_code);
 




More information about the wine-cvs mailing list