Module: wine Branch: master Commit: 1ea99a8f298a45f91923654e18a19a2caa75b68a URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ea99a8f298a45f91923654e18...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri Nov 27 11:57:49 2015 +0300
ntdll: Remove unused helper (Clang).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/signal_i386.c | 19 ------------------- 1 file changed, 19 deletions(-)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index 5c3aa819..5582299 100644 --- a/dlls/ntdll/signal_i386.c +++ b/dlls/ntdll/signal_i386.c @@ -1011,25 +1011,6 @@ static inline void save_fpu( CONTEXT *context )
/*********************************************************************** - * save_fpux - * - * Save the thread FPU extended context. - */ -static inline void save_fpux( CONTEXT *context ) -{ -#ifdef __GNUC__ - /* we have to enforce alignment by hand */ - char buffer[sizeof(XMM_SAVE_AREA32) + 16]; - XMM_SAVE_AREA32 *state = (XMM_SAVE_AREA32 *)(((ULONG_PTR)buffer + 15) & ~15); - - __asm__ __volatile__( "fxsave %0" : "=m" (*state) ); - context->ContextFlags |= CONTEXT_EXTENDED_REGISTERS; - memcpy( context->ExtendedRegisters, state, sizeof(*state) ); -#endif -} - - -/*********************************************************************** * restore_fpu * * Restore the FPU context to a sigcontext.