André Hentschel : ntdll: Remove an unused function from signal_powerpc.

Alexandre Julliard julliard at winehq.org
Wed Sep 8 13:32:11 CDT 2010


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Sep  8 01:49:19 2010 +0200

ntdll: Remove an unused function from signal_powerpc.

---

 dlls/ntdll/signal_powerpc.c |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/dlls/ntdll/signal_powerpc.c b/dlls/ntdll/signal_powerpc.c
index 662d97b..f6de65f 100644
--- a/dlls/ntdll/signal_powerpc.c
+++ b/dlls/ntdll/signal_powerpc.c
@@ -574,31 +574,6 @@ NTSTATUS context_from_server( CONTEXT *to, const context_t *from )
 
 
 /**********************************************************************
- *		get_fpu_code
- *
- * Get the FPU exception code from the FPU status.
- */
-static inline DWORD get_fpu_code( const CONTEXT *context )
-{
-    DWORD status  = context->Fpscr;
-
-    if (status & 0x01)  /* IE */
-    {
-        if (status & 0x40)  /* SF */
-            return EXCEPTION_FLT_STACK_CHECK;
-        else
-            return EXCEPTION_FLT_INVALID_OPERATION;
-    }
-    if (status & 0x02) return EXCEPTION_FLT_DENORMAL_OPERAND;  /* DE flag */
-    if (status & 0x04) return EXCEPTION_FLT_DIVIDE_BY_ZERO;    /* ZE flag */
-    if (status & 0x08) return EXCEPTION_FLT_OVERFLOW;          /* OE flag */
-    if (status & 0x10) return EXCEPTION_FLT_UNDERFLOW;         /* UE flag */
-    if (status & 0x20) return EXCEPTION_FLT_INEXACT_RESULT;    /* PE flag */
-    return EXCEPTION_FLT_INVALID_OPERATION;  /* generic error */
-}
-
-
-/**********************************************************************
  *           call_stack_handlers
  *
  * Call the stack handlers chain.




More information about the wine-cvs mailing list