ntdll: Remove unused helper (Clang).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-11-27 11:57:49 +03:00 committed by Alexandre Julliard
parent 236d97fed9
commit 1ea99a8f29
1 changed files with 0 additions and 19 deletions

View File

@ -1010,25 +1010,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
*