From: Nikolay Sivov Subject: [PATCH] ntdll: Remove unused helper (Clang) Message-Id: <1448614669-28400-1-git-send-email-nsivov@codeweavers.com> Date: Fri, 27 Nov 2015 11:57:49 +0300 Signed-off-by: Nikolay Sivov --- 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. -- 2.6.2